From 46543f471e188380c58d9cc33320db030feabbdc Mon Sep 17 00:00:00 2001 From: danceratopz Date: Tue, 26 Sep 2023 12:25:32 +0200 Subject: [PATCH 1/4] simulators/ethereum/engine: Update beacon root address 0x000F..Beac02 --- simulators/ethereum/engine/config/cancun/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulators/ethereum/engine/config/cancun/constants.go b/simulators/ethereum/engine/config/cancun/constants.go index 8e5a15c2da..23dcabd233 100644 --- a/simulators/ethereum/engine/config/cancun/constants.go +++ b/simulators/ethereum/engine/config/cancun/constants.go @@ -22,7 +22,7 @@ var ( BLOB_COMMITMENT_VERSION_KZG = byte(0x01) // EIP 4788 - BEACON_ROOTS_ADDRESS = common.HexToAddress("0xbEAC020008aFF7331c0A389CB2AAb67597567d7a") + BEACON_ROOTS_ADDRESS = common.HexToAddress("0x000F3df6D732807Ef1319fB7B8bB8522d0Beac02") HISTORY_BUFFER_LENGTH = uint64(98304) // Test constants From b0dd3bba0c0a4168efe96c7b19d6c9a53d4b53c6 Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Tue, 26 Sep 2023 14:26:50 +0000 Subject: [PATCH 2/4] simulators/ethereum/pyspec: Download latest fixtures --- simulators/ethereum/pyspec/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simulators/ethereum/pyspec/Dockerfile b/simulators/ethereum/pyspec/Dockerfile index 529857039d..1ce323dde1 100644 --- a/simulators/ethereum/pyspec/Dockerfile +++ b/simulators/ethereum/pyspec/Dockerfile @@ -21,8 +21,8 @@ COPY --from=builder /source/pyspec/pyspec . # To run locally generated fixtures, comment the following RUN lines and # uncomment the ADD line. # Download the latest fixture release. -RUN wget https://github.com/ethereum/execution-spec-tests/releases/download/v1.0.4/fixtures_hive.tar.gz -RUN tar -xzvf fixtures_hive.tar.gz +RUN wget https://github.com/ethereum/execution-spec-tests/releases/latest/download/fixtures_develop_hive.tar.gz +RUN tar -xzvf fixtures_develop_hive.tar.gz RUN mv fixtures /fixtures # ADD ./pyspec/fixtures /fixtures From 48759e69f5da29b6240b7cd27185c8eae9facba1 Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Tue, 26 Sep 2023 14:45:52 +0000 Subject: [PATCH 3/4] simulators/ethereum/engine: Update beacon root contract --- simulators/ethereum/engine/config/cancun/genesis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulators/ethereum/engine/config/cancun/genesis.go b/simulators/ethereum/engine/config/cancun/genesis.go index d8a7765147..3043ccdc99 100644 --- a/simulators/ethereum/engine/config/cancun/genesis.go +++ b/simulators/ethereum/engine/config/cancun/genesis.go @@ -30,7 +30,7 @@ func ConfigGenesis(genesis *core.Genesis, forkTimestamp uint64) error { genesis.Alloc[BEACON_ROOTS_ADDRESS] = core.GenesisAccount{ Balance: common.Big0, Nonce: 1, - Code: common.Hex2Bytes("3373fffffffffffffffffffffffffffffffffffffffe14604457602036146024575f5ffd5b620180005f350680545f35146037575f5ffd5b6201800001545f5260205ff35b6201800042064281555f359062018000015500"), + Code: common.Hex2Bytes("0x3373fffffffffffffffffffffffffffffffffffffffe14604d57602036146024575f5ffd5b5f35801560495762001fff810690815414603c575f5ffd5b62001fff01545f5260205ff35b5f5ffd5b62001fff42064281555f359062001fff015500"), } return nil From 827c367e25a1c6dbf31bda93d1a33497203c4d37 Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Tue, 26 Sep 2023 08:51:21 -0600 Subject: [PATCH 4/4] simulators/ethereum/engine: Update History buffer length Co-authored-by: spencer --- simulators/ethereum/engine/config/cancun/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulators/ethereum/engine/config/cancun/constants.go b/simulators/ethereum/engine/config/cancun/constants.go index 23dcabd233..801c14610e 100644 --- a/simulators/ethereum/engine/config/cancun/constants.go +++ b/simulators/ethereum/engine/config/cancun/constants.go @@ -23,7 +23,7 @@ var ( // EIP 4788 BEACON_ROOTS_ADDRESS = common.HexToAddress("0x000F3df6D732807Ef1319fB7B8bB8522d0Beac02") - HISTORY_BUFFER_LENGTH = uint64(98304) + HISTORY_BUFFER_LENGTH = uint64(8191) // Test constants DATAHASH_START_ADDRESS = big.NewInt(0x20000)