Shard slot -> slot for PHASE_1_FORK_SLOT part2
This commit is contained in:
parent
0f2e814c63
commit
17702e6d88
|
@ -141,5 +141,5 @@ SHARD_SLOTS_PER_BEACON_SLOT: 2
|
|||
EPOCHS_PER_SHARD_PERIOD: 4
|
||||
# PHASE_1_FORK_EPOCH >= EPOCHS_PER_SHARD_PERIOD * 2
|
||||
PHASE_1_FORK_EPOCH: 8
|
||||
# PHASE_1_FORK_SLOT = PHASE_1_FORK_EPOCH * SHARD_SLOTS_PER_BEACON_SLOT * SLOTS_PER_EPOCH
|
||||
PHASE_1_FORK_SLOT: 128
|
||||
# PHASE_1_FORK_SLOT = PHASE_1_FORK_EPOCH * SLOTS_PER_EPOCH
|
||||
PHASE_1_FORK_SLOT: 64
|
||||
|
|
|
@ -73,10 +73,10 @@ We define the following Python custom types for type hinting and readability:
|
|||
|
||||
### Initial values
|
||||
|
||||
| Name | Value |
|
||||
| - | - |
|
||||
| `PHASE_1_FORK_EPOCH` | **TBD** |
|
||||
| `PHASE_1_FORK_SLOT` | **TBD** |
|
||||
| Name | Value | Unit |
|
||||
| - | - | - |
|
||||
| `PHASE_1_FORK_EPOCH` | **TBD** | Epoch |
|
||||
| `PHASE_1_FORK_SLOT` | **TBD** | Slot |
|
||||
|
||||
### Time parameters
|
||||
|
||||
|
@ -359,7 +359,7 @@ def get_default_shard_state(beacon_state: BeaconState, shard: Shard) -> ShardSta
|
|||
return ShardState(
|
||||
basefee=1,
|
||||
shard=shard,
|
||||
slot=PHASE_1_FORK_SLOT,
|
||||
slot=PHASE_1_FORK_SLOT * SHARD_SLOTS_PER_BEACON_SLOT,
|
||||
earlier_committee_rewards=[REWARD_COEFFICIENT_BASE for _ in range(len(earlier_committee))],
|
||||
later_committee_rewards=[REWARD_COEFFICIENT_BASE for _ in range(len(later_committee))],
|
||||
earlier_committee_fees=[Gwei(0) for _ in range(len(earlier_committee))],
|
||||
|
|
Loading…
Reference in New Issue