mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-07 16:23:12 +00:00
Feedback
This commit is contained in:
parent
911dfedd07
commit
39fdad8c86
@ -7,9 +7,7 @@ global sys_create:
|
|||||||
// stack: kexit_info, value, code_offset, code_len
|
// stack: kexit_info, value, code_offset, code_len
|
||||||
// TODO: Charge gas.
|
// TODO: Charge gas.
|
||||||
%stack (kexit_info, value, code_offset, code_len)
|
%stack (kexit_info, value, code_offset, code_len)
|
||||||
-> (value, code_offset, code_len, kexit_info)
|
-> (sys_create_got_address, value, code_offset, code_len, kexit_info)
|
||||||
PUSH sys_create_got_address
|
|
||||||
// stack: sys_create_got_address, value, code_offset, code_len, kexit_info
|
|
||||||
%address
|
%address
|
||||||
// stack: sender, sys_create_got_address, value, code_offset, code_len, kexit_info
|
// stack: sender, sys_create_got_address, value, code_offset, code_len, kexit_info
|
||||||
DUP1 %nonce
|
DUP1 %nonce
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
// stack: value, address
|
// stack: value, address
|
||||||
DUP2 %mpt_read_state_trie
|
DUP2 %mpt_read_state_trie
|
||||||
// stack: existing_account_ptr, value, address
|
// 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.
|
// so we can skip ahead, setting existing_balance = existing_account_ptr = 0.
|
||||||
DUP1 ISZERO %jumpi(%%do_insert)
|
DUP1 ISZERO %jumpi(%%do_insert)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user