This commit is contained in:
Daniel Lubarov 2023-03-29 11:00:41 -07:00
parent 911dfedd07
commit 39fdad8c86
2 changed files with 2 additions and 4 deletions

View File

@ -7,9 +7,7 @@ global sys_create:
// stack: kexit_info, value, code_offset, code_len
// TODO: Charge gas.
%stack (kexit_info, value, code_offset, code_len)
-> (value, code_offset, code_len, kexit_info)
PUSH sys_create_got_address
// stack: sys_create_got_address, value, code_offset, code_len, kexit_info
-> (sys_create_got_address, value, code_offset, code_len, kexit_info)
%address
// stack: sender, sys_create_got_address, value, code_offset, code_len, kexit_info
DUP1 %nonce

View File

@ -5,7 +5,7 @@
// stack: value, address
DUP2 %mpt_read_state_trie
// stack: existing_account_ptr, value, address
// If the account doesn't exist, there's need to check its balance or nonce,
// If the account doesn't exist, there's no need to check its balance or nonce,
// so we can skip ahead, setting existing_balance = existing_account_ptr = 0.
DUP1 ISZERO %jumpi(%%do_insert)