mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-01 13:04:58 -05:00
Make previous_version=current_version
This commit is contained in:
@@ -689,7 +689,7 @@ def initialize_beacon_state_from_eth1(eth1_block_hash: Bytes32,
|
||||
eth1_timestamp: uint64,
|
||||
deposits: Sequence[Deposit]) -> BeaconState:
|
||||
fork = Fork(
|
||||
previous_version=GENESIS_FORK_VERSION,
|
||||
previous_version=ALTAIR_FORK_VERSION, # [Modified in Altair] for testing only
|
||||
current_version=ALTAIR_FORK_VERSION, # [Modified in Altair]
|
||||
epoch=GENESIS_EPOCH,
|
||||
)
|
||||
|
||||
@@ -362,7 +362,7 @@ def initialize_beacon_state_from_eth1(eth1_block_hash: Bytes32,
|
||||
eth1_timestamp: uint64,
|
||||
deposits: Sequence[Deposit]) -> BeaconState:
|
||||
fork = Fork(
|
||||
previous_version=ALTAIR_FORK_VERSION,
|
||||
previous_version=MERGE_FORK_VERSION, # [Modified in Merge] for testing only
|
||||
current_version=MERGE_FORK_VERSION, # [Modified in Merge]
|
||||
epoch=GENESIS_EPOCH,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user