mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-03 14:23:07 +00:00
Set returndata size to 0 in some create errors (#1088)
This commit is contained in:
parent
d37c545591
commit
e51c4d0d21
@ -189,15 +189,18 @@ after_constructor_failed:
|
||||
%jump(after_constructor_contd)
|
||||
|
||||
create_insufficient_balance:
|
||||
%mstore_context_metadata(@CTX_METADATA_RETURNDATA_SIZE, 0)
|
||||
%stack (address, value, code_offset, code_len, kexit_info) -> (kexit_info, 0)
|
||||
EXIT_KERNEL
|
||||
|
||||
nonce_overflow:
|
||||
%mstore_context_metadata(@CTX_METADATA_RETURNDATA_SIZE, 0)
|
||||
%stack (sender, address, value, code_offset, code_len, kexit_info) -> (kexit_info, 0)
|
||||
EXIT_KERNEL
|
||||
|
||||
create_collision:
|
||||
%revert_checkpoint
|
||||
%mstore_context_metadata(@CTX_METADATA_RETURNDATA_SIZE, 0)
|
||||
%stack (new_ctx, address, kexit_info) -> (kexit_info, 0)
|
||||
EXIT_KERNEL
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user