mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-03 14:23:07 +00:00
Fix extcodehash when account is empty (#1055)
This commit is contained in:
parent
08a061bc4d
commit
9727eaf1e0
@ -13,10 +13,14 @@ global sys_extcodehash:
|
||||
// stack: kexit_info, address
|
||||
|
||||
SWAP1
|
||||
DUP1 %is_dead %jumpi(extcodehash_dead)
|
||||
%extcodehash
|
||||
// stack: hash, kexit_info
|
||||
SWAP1
|
||||
EXIT_KERNEL
|
||||
extcodehash_dead:
|
||||
%stack (address, kexit_info) -> (kexit_info, 0)
|
||||
EXIT_KERNEL
|
||||
|
||||
global extcodehash:
|
||||
// stack: address, retdest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user