Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simulators/ethereum: Update beacon root address 0x000F..Beac02 #884

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions simulators/ethereum/engine/config/cancun/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ var (
BLOB_COMMITMENT_VERSION_KZG = byte(0x01)

// EIP 4788
BEACON_ROOTS_ADDRESS = common.HexToAddress("0xbEAC020008aFF7331c0A389CB2AAb67597567d7a")
HISTORY_BUFFER_LENGTH = uint64(98304)
BEACON_ROOTS_ADDRESS = common.HexToAddress("0x000F3df6D732807Ef1319fB7B8bB8522d0Beac02")
HISTORY_BUFFER_LENGTH = uint64(8191)

// Test constants
DATAHASH_START_ADDRESS = big.NewInt(0x20000)
Expand Down
2 changes: 1 addition & 1 deletion simulators/ethereum/engine/config/cancun/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions simulators/ethereum/pyspec/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down