Skip to content

Commit 3b9ed1e

Browse files
authored
Update Blockhash History system contract address (EIP-2935) (#1093)
The [pectra-devnet-5 specs] includes an [update to EIP-2935]'s system contract and its address. To pass blockchain tests the #1094 is required, but we are going to merge this change first. [pectra-devnet-5 specs]: https://notes.ethereum.org/@ethpandaops/pectra-devnet-5 [update to EIP-2935]: ethereum/EIPs#9144
1 parent 3fcb59d commit 3b9ed1e

File tree

2 files changed

+9
-19
lines changed

2 files changed

+9
-19
lines changed

circle.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -364,17 +364,6 @@ jobs:
364364
working_directory: ~/build
365365
command: >
366366
bin/evmone-blockchaintest ~/spec-tests/fixtures/blockchain_tests
367-
- download_execution_spec_tests:
368-
369-
fixtures_suffix: pectra-devnet-4
370-
- run:
371-
name: "Execution spec tests (develop, blockchain_tests) - pectra-devnet-4"
372-
# Tests for in-development EVM revision currently passing.
373-
working_directory: ~/spec-tests/fixtures/blockchain_tests
374-
command: >
375-
~/build/bin/evmone-blockchaintest
376-
prague/eip2935_historical_block_hashes_from_state
377-
prague/eip7685_general_purpose_el_requests
378367
- download_execution_spec_tests:
379368
380369
fixtures_suffix: pectra-devnet-5
@@ -412,13 +401,14 @@ jobs:
412401
working_directory: ~/build
413402
command: >
414403
bin/evmone-statetest ~/spec-tests/fixtures/state_tests/osaka
415-
- run:
416-
name: "EOF pre-release execution spec tests (blockchain_tests)"
417-
working_directory: ~/build
418-
command: >
419-
bin/evmone-blockchaintest
420-
--gtest_filter='-eofwrap/*'
421-
~/spec-tests/fixtures/blockchain_tests/osaka
404+
# TODO: EOF blockchain tests are not yet compatible with pectra-devnet-5.
405+
# - run:
406+
# name: "EOF pre-release execution spec tests (blockchain_tests)"
407+
# working_directory: ~/build
408+
# command: >
409+
# bin/evmone-blockchaintest
410+
# --gtest_filter='-eofwrap/*'
411+
# ~/spec-tests/fixtures/blockchain_tests/osaka
422412
- run:
423413
name: "EOF pre-release execution spec tests (eof_tests)"
424414
working_directory: ~/build

test/state/system_contracts.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ constexpr auto SYSTEM_ADDRESS = 0xfffffffffffffffffffffffffffffffffffffffe_addre
1717
constexpr auto BEACON_ROOTS_ADDRESS = 0x000F3df6D732807Ef1319fB7B8bB8522d0Beac02_address;
1818

1919
/// The address of the system contract storing historical block hashes (EIP-2935).
20-
constexpr auto HISTORY_STORAGE_ADDRESS = 0x0aae40965e6800cd9b1f4b05ff21581047e3f91e_address;
20+
constexpr auto HISTORY_STORAGE_ADDRESS = 0x0F792be4B0c0cb4DAE440Ef133E90C0eCD48CCCC_address;
2121

2222
/// The address of the system contract processing EL-triggerable withdrawals (EIP-7002).
2323
constexpr auto WITHDRAWAL_REQUEST_ADDRESS = 0x09Fc772D0857550724b07B850a4323f39112aAaA_address;

0 commit comments

Comments
 (0)