Skip to content

Commit f844e0c

Browse files
committed
clean test_fork_transition.py
1 parent 223ee23 commit f844e0c

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

tests/monad_eight/staking_precompile/test_fork_transition.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_fork_transition(
7171
caller_address = pre.deploy_contract(
7272
code=Op.SSTORE(
7373
Op.TIMESTAMP,
74-
Op.CALL(gas=0xFFFF, address=callee_address),
74+
Op.CALL(gas=Op.GAS, address=callee_address),
7575
),
7676
storage={14_999: "0xdeadbeef"},
7777
)
@@ -114,16 +114,7 @@ def test_fork_transition(
114114
pre=pre,
115115
blocks=blocks,
116116
post={
117-
caller_address: Account(
118-
storage={
119-
# Call succeeds (precompile just returns empty)
120-
14_999: 1,
121-
# Call succeeds on fork transition block
122-
15_000: 1,
123-
# Call continues to succeed after transition
124-
15_001: 1,
125-
}
126-
),
117+
caller_address: Account(storage={14_999: 1, 15_000: 1, 15_001: 1}),
127118
callee_address: Account(
128119
storage={
129120
# Pre-transition: available iff predecessor >= MONAD_EIGHT

0 commit comments

Comments
 (0)