Don't revert state in CREATE in case of OOF or nonce overflow (#1077)

This commit is contained in:
wborgeaud 2023-06-07 10:41:58 +02:00 committed by GitHub
parent 63a6e70646
commit 77f0d8b58f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,12 +189,10 @@ after_constructor_failed:
%jump(after_constructor_contd) %jump(after_constructor_contd)
create_insufficient_balance: create_insufficient_balance:
%revert_checkpoint
%stack (address, value, code_offset, code_len, kexit_info) -> (kexit_info, 0) %stack (address, value, code_offset, code_len, kexit_info) -> (kexit_info, 0)
EXIT_KERNEL EXIT_KERNEL
nonce_overflow: nonce_overflow:
%revert_checkpoint
%stack (sender, address, value, code_offset, code_len, kexit_info) -> (kexit_info, 0) %stack (sender, address, value, code_offset, code_len, kexit_info) -> (kexit_info, 0)
EXIT_KERNEL EXIT_KERNEL