From 1f7040b42b0b6197cc071bebc7a06138cb28c928 Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Thu, 30 Sep 2021 16:41:05 +0800 Subject: [PATCH] Make previous_version=current_version --- specs/altair/beacon-chain.md | 2 +- specs/merge/beacon-chain.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/altair/beacon-chain.md b/specs/altair/beacon-chain.md index dbd3e6368..b22f89a4d 100644 --- a/specs/altair/beacon-chain.md +++ b/specs/altair/beacon-chain.md @@ -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, ) diff --git a/specs/merge/beacon-chain.md b/specs/merge/beacon-chain.md index 083bdd00a..9fc01019b 100644 --- a/specs/merge/beacon-chain.md +++ b/specs/merge/beacon-chain.md @@ -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, )