Skip to content

Commit 582ff6b

Browse files
committed
consolidations, withdrawals: replace big constant with expression
1 parent 0cda50b commit 582ff6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/consolidations/ctor.eas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;; Store 0xff..ff as a temporary excess value to avoid requests being queued
22
;; before the fork.
3-
push 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
3+
push (1<<256)-1 ; [excess]
44
push 0 ; [slot, excess]
55
sstore ; []
66

src/withdrawals/ctor.eas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;; Store 0xff..ff as a temporary excess value to avoid requests being queued
22
;; before the fork.
3-
push 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
3+
push (1<<256)-1 ; [excess]
44
push 0 ; [slot, excess]
55
sstore ; []
66

0 commit comments

Comments
 (0)