diff --git a/test/t8n/t8n.cpp b/test/t8n/t8n.cpp index c96dbecf47..80e15d1531 100644 --- a/test/t8n/t8n.cpp +++ b/test/t8n/t8n.cpp @@ -145,6 +145,9 @@ int main(int argc, const char* argv[]) j_receipt["transactionHash"] = hex0x(computed_tx_hash); j_receipt["gasUsed"] = hex0x(static_cast(receipt.gas_used)); cumulative_gas_used += receipt.gas_used; + receipt.cumulative_gas_used = cumulative_gas_used; + if (rev < EVMC_BYZANTIUM) + receipt.post_state = state::mpt_hash(state.get_accounts()); j_receipt["cumulativeGasUsed"] = hex0x(cumulative_gas_used); j_receipt["blockHash"] = hex0x(bytes32{});