Skip to content

Commit 461e630

Browse files
authored
feat(tools): final update to beacon root address 0x000F..Beac02 (#312)
1 parent 101e692 commit 461e630

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

docs/CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Test fixtures for use by clients are available for each release on the [Github r
88

99
### 🧪 Test Cases
1010

11-
- 🐞 Tests: Fix invalid blob txs pre-Cancun engine response ([#306](https://github.com/ethereum/execution-spec-tests/pull/306)).
11+
- 🐞 [EIP-4844](https://eips.ethereum.org/EIPS/eip-4844): Fix invalid blob txs pre-Cancun engine response ([#306](https://github.com/ethereum/execution-spec-tests/pull/306)).
12+
-[EIP-4788](https://eips.ethereum.org/EIPS/eip-4788): Final update to the beacon root address ([#312](https://github.com/ethereum/execution-spec-tests/pull/312)).
1213

1314
### 🛠️ Framework
1415

@@ -18,7 +19,7 @@ Test fixtures for use by clients are available for each release on the [Github r
1819

1920
- ✨ Docs: Changelog added ([#305](https://github.com/ethereum/execution-spec-tests/pull/305)).
2021
- ✨ CI/CD: Run development fork tests in Github Actions ([#302](https://github.com/ethereum/execution-spec-tests/pull/302)).
21-
- ✨ CI/CD: Generate test JSON fixtures on push ([#301](https://github.com/ethereum/execution-spec-tests/pull/303)).
22+
- ✨ CI/CD: Generate test JSON fixtures on push ([#303](https://github.com/ethereum/execution-spec-tests/pull/303)).
2223

2324
## [v1.0.4](https://github.com/ethereum/execution-spec-tests/releases/tag/v1.0.4) - 2023-09-21: 🐍 Cancun Devnet 9 Release 2
2425

evm-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ main:
55
develop:
66
impl: geth
77
repo: marioevz/go-ethereum
8-
ref: cancun-t8n
8+
ref: cancun-t8n-beacon-root-final-address

src/ethereum_test_forks/forks/forks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def pre_allocation(cls, block_number: int = 0, timestamp: int = 0) -> Mapping:
374374
Cancun requires pre-allocation of the beacon root contract for EIP-4788
375375
"""
376376
new_allocation = {
377-
0xBEAC020008AFF7331C0A389CB2AAB67597567D7A: {
377+
0x000F3DF6D732807EF1319FB7B8BB8522D0BEAC02: {
378378
"nonce": 1,
379379
"code": "0x3373fffffffffffffffffffffffffffffffffffffffe14604d57602036146024575f5f"
380380
"fd5b5f35801560495762001fff810690815414603c575f5ffd5b62001fff01545f5260205ff35b5f"

tests/cancun/eip4788_beacon_root/spec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ class Spec:
2727
https://eips.ethereum.org/EIPS/eip-4788#specification
2828
"""
2929

30-
BEACON_ROOTS_ADDRESS = 0xBEAC020008AFF7331C0A389CB2AAB67597567D7A
30+
BEACON_ROOTS_ADDRESS = 0x000F3DF6D732807EF1319FB7B8BB8522D0BEAC02
3131
BEACON_ROOTS_CALL_GAS = 100_000
32-
BEACON_ROOTS_DEPLOYER_ADDRESS = 0x4F6DA9BA1CC8C37D9CE52311D4BAFFC43BA42D0E
32+
BEACON_ROOTS_DEPLOYER_ADDRESS = 0x0B799C86A49DEEB90402691F1041AA3AF2D3C875
3333
HISTORY_BUFFER_LENGTH = 8_191
3434
SYSTEM_ADDRESS = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE
3535
FORK_TIMESTAMP = 15_000 # ShanghaiToCancun timestamp

tests/cancun/eip4788_beacon_root/test_blocks_beacon_root_contract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def test_beacon_root_contract_deploy(
440440
),
441441
v=0x1B,
442442
r=0x539,
443-
s=0x1337005F06A8B6A0A0B1F4,
443+
s=0x1B9B6EB1F0,
444444
protected=False,
445445
).with_signature_and_sender()
446446
deployer_address = deploy_tx.sender

0 commit comments

Comments
 (0)