Fix failed receipt. (#1284)

This commit is contained in:
Linda Guiga 2023-10-11 10:02:24 -04:00 committed by GitHub
parent b4203c3d47
commit 2aeecc3dd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,6 +228,7 @@ failed_receipt:
// It is the receipt of a failed transaction, so set num_logs to 0. This will also lead to Bloom filter = 0.
PUSH 0
%mstore_global_metadata(@GLOBAL_METADATA_LOGS_LEN)
PUSH 0 %mstore_global_metadata(@GLOBAL_METADATA_LOGS_PAYLOAD_LEN)
// stack: status, new_cum_gas, num_nibbles, txn_nb
%jump(process_receipt_after_status)