Skip to content

Commit 549f154

Browse files
marioevzspencer-tb
authored andcommitted
tests/eip4788: fix tests
1 parent 128bc8f commit 549f154

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/cancun/eip4788_beacon_root/test_beacon_root_precompile.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ def test_beacon_root_equal_to_timestamp(
184184
[
185185
12, # twelve
186186
2**32, # arbitrary
187-
2**64 - 2, # near-max
188-
2**64 - 1, # max
189187
],
190188
)
191189
@pytest.mark.valid_from("Cancun")
@@ -226,11 +224,12 @@ def test_beacon_root_timestamp_collisions(
226224
txs=[
227225
tx.with_fields(
228226
nonce=i,
229-
to=to_address(0x100),
227+
to=to_address(0x100 + i),
230228
data=to_hash_bytes(timestamp),
231229
)
232230
],
233231
beacon_root=DEFAULT_BEACON_ROOT_HASH,
232+
timestamp=timestamp,
234233
)
235234
)
236235
post[to_address(0x100 + i)] = Account(
@@ -243,7 +242,6 @@ def test_beacon_root_timestamp_collisions(
243242
)
244243

245244
blockchain_test(
246-
genesis_environment=env,
247245
pre=pre,
248246
blocks=blocks,
249247
post=post,

0 commit comments

Comments
 (0)