diff --git a/BlockchainTests/GeneralStateTests/stCreateTest/CREATE2_RefundEF.json b/BlockchainTests/GeneralStateTests/stCreateTest/CREATE2_RefundEF.json new file mode 100644 index 00000000000..202c7bd0c49 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreateTest/CREATE2_RefundEF.json @@ -0,0 +1,636 @@ +{ + "CREATE2_RefundEF_d0g0v0_Berlin" : { + "_info" : { + "comment" : "Test combination of gas refund and EF-prefixed CREATE2 failure.\n", + "filling-rpc-server" : "evm version 1.13.5-unstable-233db64c-20231027", + "filling-tool-version" : "retesteth-0.3.1-cancun+commit.c768ec72.Linux.g++", + "generatedTestHash" : "3fece89c5ffef3901ada4ea51e6607688d718212ba6e5473becc72da896d910b", + "lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", + "solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CREATE2_RefundEFFiller.yml", + "sourceHash" : "8438c3be6eacdde0b540bb6da43293901a9eaf30a83faf47480e5d4893d06178" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x020000", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x010992", + "hash" : "0xa92e7b2b94b4f92ada0bc52b36d7cb59b9cf09f5a35324f1f85d5d785d048425", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x2df6a6426f28abfb60eef4c85dd1a325fba4e938269b277a9961512638f6b23f", + "receiptTrie" : "0x98b836ec7c0e5d2981b1ff44cbe7847d3c492ccab0aee443ea359e57a70daa50", + "stateRoot" : "0xe2ae4bb1c47d15687adcc6b25b8ede1fe45025fafcffc6a0e8cdbd96d4eb09f8", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x1825885d9f86cd28f29a59495b9f9103fc99d61fa5663fd6171bee04e79d8df7", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90260f901f8a02df6a6426f28abfb60eef4c85dd1a325fba4e938269b277a9961512638f6b23fa01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba0e2ae4bb1c47d15687adcc6b25b8ede1fe45025fafcffc6a0e8cdbd96d4eb09f8a01825885d9f86cd28f29a59495b9f9103fc99d61fa5663fd6171bee04e79d8df7a098b836ec7c0e5d2981b1ff44cbe7847d3c492ccab0aee443ea359e57a70daa50b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f4240830109928203e800a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f860800a830186a094000000000000000000000000000000000c5ea70580801ba0be1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106a07772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245c0", + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x0a", + "nonce" : "0x00", + "r" : "0xbe1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106", + "s" : "0x7772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245", + "sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "0x000000000000000000000000000000000c5ea705", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x01", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0x2df6a6426f28abfb60eef4c85dd1a325fba4e938269b277a9961512638f6b23f", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x3b72d4ea9d74e0fb89389c569beef7b80b722e17bbe05635c7c5c8d732ad60a5", + "timestamp" : "0x00", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901f5f901f0a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba03b72d4ea9d74e0fb89389c569beef7b80b722e17bbe05635c7c5c8d732ad60a5a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180830f4240808000a00000000000000000000000000000000000000000000000000000000000000000880000000000000000c0c0", + "lastblockhash" : "0xa92e7b2b94b4f92ada0bc52b36d7cb59b9cf09f5a35324f1f85d5d785d048425", + "network" : "Berlin", + "postState" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + } + }, + "0x000000000000000000000000000000000c5ea705" : { + "balance" : "0x00", + "code" : "0x6000601980601183398180f560005500fe600080808080625ef94d61c350f15060ef60005360016000f3", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xbe8f87148d0767989cce2e6a6a5d91c7d0c840e0" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x1bc1c85a5f424000", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + }, + "0xbe8f87148d0767989cce2e6a6a5d91c7d0c840e0" : { + "balance" : "0x00", + "code" : "0xef", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x000000000000000000000000000000000c5ea705" : { + "balance" : "0x00", + "code" : "0x6000601980601183398180f560005500fe600080808080625ef94d61c350f15060ef60005360016000f3", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3107a4000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + }, + "CREATE2_RefundEF_d0g0v0_Cancun" : { + "_info" : { + "comment" : "Test combination of gas refund and EF-prefixed CREATE2 failure.\n", + "filling-rpc-server" : "evm version 1.13.5-unstable-233db64c-20231027", + "filling-tool-version" : "retesteth-0.3.1-cancun+commit.c768ec72.Linux.g++", + "generatedTestHash" : "20fc6c36535de151ffed27ba3511f2a2ec14cb963396ceadd53a28008c1675d8", + "lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", + "solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CREATE2_RefundEFFiller.yml", + "sourceHash" : "8438c3be6eacdde0b540bb6da43293901a9eaf30a83faf47480e5d4893d06178" + }, + "blocks" : [ + { + "blockHeader" : { + "baseFeePerGas" : "0x0a", + "blobGasUsed" : "0x00", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x00", + "excessBlobGas" : "0x00", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x0186a0", + "hash" : "0x464ef53b626ccbcd00d657eec9f8f52a942dc0f9fa40dfdd98c9f51b1a67a516", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentBeaconBlockRoot" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "parentHash" : "0x81f0a4e95e381eb55c345713017ecfc03828ade9507a555eff6e6af9a40c61a8", + "receiptTrie" : "0x777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4", + "stateRoot" : "0x87d4489229f31582e552e7d10210c874578cefba9f6a855af8b334c63c0d4089", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x1825885d9f86cd28f29a59495b9f9103fc99d61fa5663fd6171bee04e79d8df7", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" + }, + "rlp" : "0xf902a3f9023aa081f0a4e95e381eb55c345713017ecfc03828ade9507a555eff6e6af9a40c61a8a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba087d4489229f31582e552e7d10210c874578cefba9f6a855af8b334c63c0d4089a01825885d9f86cd28f29a59495b9f9103fc99d61fa5663fd6171bee04e79d8df7a0777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008001830f4240830186a08203e800a000000000000000000000000000000000000000000000000000000000000000018800000000000000000aa056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080a00000000000000000000000000000000000000000000000000000000000000000f862f860800a830186a094000000000000000000000000000000000c5ea70580801ba0be1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106a07772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245c0c0", + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x0a", + "nonce" : "0x00", + "r" : "0xbe1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106", + "s" : "0x7772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245", + "sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "0x000000000000000000000000000000000c5ea705", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ], + "withdrawals" : [ + ] + } + ], + "genesisBlockHeader" : { + "baseFeePerGas" : "0x0b", + "blobGasUsed" : "0x00", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x00", + "excessBlobGas" : "0x00", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0x81f0a4e95e381eb55c345713017ecfc03828ade9507a555eff6e6af9a40c61a8", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "nonce" : "0x0000000000000000", + "number" : "0x00", + "parentBeaconBlockRoot" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x3b72d4ea9d74e0fb89389c569beef7b80b722e17bbe05635c7c5c8d732ad60a5", + "timestamp" : "0x00", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" + }, + "genesisRLP" : "0xf9023bf90235a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba03b72d4ea9d74e0fb89389c569beef7b80b722e17bbe05635c7c5c8d732ad60a5a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080830f4240808000a000000000000000000000000000000000000000000000000000000000000000018800000000000000000ba056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080a00000000000000000000000000000000000000000000000000000000000000000c0c0c0", + "lastblockhash" : "0x464ef53b626ccbcd00d657eec9f8f52a942dc0f9fa40dfdd98c9f51b1a67a516", + "network" : "Cancun", + "postState" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x000000000000000000000000000000000c5ea705" : { + "balance" : "0x00", + "code" : "0x6000601980601183398180f560005500fe600080808080625ef94d61c350f15060ef60005360016000f3", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3106afdc0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x000000000000000000000000000000000c5ea705" : { + "balance" : "0x00", + "code" : "0x6000601980601183398180f560005500fe600080808080625ef94d61c350f15060ef60005360016000f3", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3107a4000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + }, + "CREATE2_RefundEF_d0g0v0_London" : { + "_info" : { + "comment" : "Test combination of gas refund and EF-prefixed CREATE2 failure.\n", + "filling-rpc-server" : "evm version 1.13.5-unstable-233db64c-20231027", + "filling-tool-version" : "retesteth-0.3.1-cancun+commit.c768ec72.Linux.g++", + "generatedTestHash" : "c25b116d54588792990c36ad8aae95ed37ff8b086d3c8ba7177555a3038d66b4", + "lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", + "solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CREATE2_RefundEFFiller.yml", + "sourceHash" : "8438c3be6eacdde0b540bb6da43293901a9eaf30a83faf47480e5d4893d06178" + }, + "blocks" : [ + { + "blockHeader" : { + "baseFeePerGas" : "0x0a", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x020000", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x0186a0", + "hash" : "0xab78ae0d920a1e1f914aa7e540f5d974ce62ffa3915d589db059af72aed88830", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0xdd643e987f12f99404fbdf6169bdcda2f1ceec6a91be81197e158fab43aa0ba3", + "receiptTrie" : "0x777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4", + "stateRoot" : "0x1e899b81aeae05a96ca9e0ee8aa82f3167d14d4fce4006da0ff99a1fc96e4783", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x1825885d9f86cd28f29a59495b9f9103fc99d61fa5663fd6171bee04e79d8df7", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90261f901f9a0dd643e987f12f99404fbdf6169bdcda2f1ceec6a91be81197e158fab43aa0ba3a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba01e899b81aeae05a96ca9e0ee8aa82f3167d14d4fce4006da0ff99a1fc96e4783a01825885d9f86cd28f29a59495b9f9103fc99d61fa5663fd6171bee04e79d8df7a0777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f4240830186a08203e800a000000000000000000000000000000000000000000000000000000000000000008800000000000000000af862f860800a830186a094000000000000000000000000000000000c5ea70580801ba0be1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106a07772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245c0", + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x0a", + "nonce" : "0x00", + "r" : "0xbe1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106", + "s" : "0x7772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245", + "sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "0x000000000000000000000000000000000c5ea705", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "baseFeePerGas" : "0x0b", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x01", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0xdd643e987f12f99404fbdf6169bdcda2f1ceec6a91be81197e158fab43aa0ba3", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x3b72d4ea9d74e0fb89389c569beef7b80b722e17bbe05635c7c5c8d732ad60a5", + "timestamp" : "0x00", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901f6f901f1a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba03b72d4ea9d74e0fb89389c569beef7b80b722e17bbe05635c7c5c8d732ad60a5a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180830f4240808000a000000000000000000000000000000000000000000000000000000000000000008800000000000000000bc0c0", + "lastblockhash" : "0xab78ae0d920a1e1f914aa7e540f5d974ce62ffa3915d589db059af72aed88830", + "network" : "London", + "postState" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x000000000000000000000000000000000c5ea705" : { + "balance" : "0x00", + "code" : "0x6000601980601183398180f560005500fe600080808080625ef94d61c350f15060ef60005360016000f3", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x1bc1c85a5f32fdc0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x000000000000000000000000000000000c5ea705" : { + "balance" : "0x00", + "code" : "0x6000601980601183398180f560005500fe600080808080625ef94d61c350f15060ef60005360016000f3", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3107a4000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + }, + "CREATE2_RefundEF_d0g0v0_Merge" : { + "_info" : { + "comment" : "Test combination of gas refund and EF-prefixed CREATE2 failure.\n", + "filling-rpc-server" : "evm version 1.13.5-unstable-233db64c-20231027", + "filling-tool-version" : "retesteth-0.3.1-cancun+commit.c768ec72.Linux.g++", + "generatedTestHash" : "6ac04d2cd7008b855fd83ccd830242c63f9d04b08ec778948d7f038231412c20", + "lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", + "solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CREATE2_RefundEFFiller.yml", + "sourceHash" : "8438c3be6eacdde0b540bb6da43293901a9eaf30a83faf47480e5d4893d06178" + }, + "blocks" : [ + { + "blockHeader" : { + "baseFeePerGas" : "0x0a", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x00", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x0186a0", + "hash" : "0xfc585413980fa26f9cda520dab75f67323b21ad515591b2ea994715b764e708d", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x0e1daa7c3c0a344db1ad6773e60290c588e1177d26405b99400571acd9a57748", + "receiptTrie" : "0x777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4", + "stateRoot" : "0x87d4489229f31582e552e7d10210c874578cefba9f6a855af8b334c63c0d4089", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x1825885d9f86cd28f29a59495b9f9103fc99d61fa5663fd6171bee04e79d8df7", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf9025ef901f6a00e1daa7c3c0a344db1ad6773e60290c588e1177d26405b99400571acd9a57748a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba087d4489229f31582e552e7d10210c874578cefba9f6a855af8b334c63c0d4089a01825885d9f86cd28f29a59495b9f9103fc99d61fa5663fd6171bee04e79d8df7a0777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008001830f4240830186a08203e800a000000000000000000000000000000000000000000000000000000000000000018800000000000000000af862f860800a830186a094000000000000000000000000000000000c5ea70580801ba0be1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106a07772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245c0", + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x0a", + "nonce" : "0x00", + "r" : "0xbe1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106", + "s" : "0x7772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245", + "sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "0x000000000000000000000000000000000c5ea705", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "baseFeePerGas" : "0x0b", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x00", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0x0e1daa7c3c0a344db1ad6773e60290c588e1177d26405b99400571acd9a57748", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "nonce" : "0x0000000000000000", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x3b72d4ea9d74e0fb89389c569beef7b80b722e17bbe05635c7c5c8d732ad60a5", + "timestamp" : "0x00", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901f6f901f1a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba03b72d4ea9d74e0fb89389c569beef7b80b722e17bbe05635c7c5c8d732ad60a5a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080830f4240808000a000000000000000000000000000000000000000000000000000000000000000018800000000000000000bc0c0", + "lastblockhash" : "0xfc585413980fa26f9cda520dab75f67323b21ad515591b2ea994715b764e708d", + "network" : "Merge", + "postState" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x000000000000000000000000000000000c5ea705" : { + "balance" : "0x00", + "code" : "0x6000601980601183398180f560005500fe600080808080625ef94d61c350f15060ef60005360016000f3", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3106afdc0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x000000000000000000000000000000000c5ea705" : { + "balance" : "0x00", + "code" : "0x6000601980601183398180f560005500fe600080808080625ef94d61c350f15060ef60005360016000f3", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3107a4000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + }, + "CREATE2_RefundEF_d0g0v0_Shanghai" : { + "_info" : { + "comment" : "Test combination of gas refund and EF-prefixed CREATE2 failure.\n", + "filling-rpc-server" : "evm version 1.13.5-unstable-233db64c-20231027", + "filling-tool-version" : "retesteth-0.3.1-cancun+commit.c768ec72.Linux.g++", + "generatedTestHash" : "537a6b49638a50cd50dd39ecf6d2b75111cfbd811333a06bf05dd0feca4c2576", + "lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", + "solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CREATE2_RefundEFFiller.yml", + "sourceHash" : "8438c3be6eacdde0b540bb6da43293901a9eaf30a83faf47480e5d4893d06178" + }, + "blocks" : [ + { + "blockHeader" : { + "baseFeePerGas" : "0x0a", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x00", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x0186a0", + "hash" : "0xf0f516fe39c5308fec04b51756a30360c3ff1ed85e5b8de0c14c587a57c8bdca", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x622b399c179c8894d32d443e06fb9c537fb429b034f25cca66ed7e8702dd8bd7", + "receiptTrie" : "0x777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4", + "stateRoot" : "0x87d4489229f31582e552e7d10210c874578cefba9f6a855af8b334c63c0d4089", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x1825885d9f86cd28f29a59495b9f9103fc99d61fa5663fd6171bee04e79d8df7", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" + }, + "rlp" : "0xf90280f90217a0622b399c179c8894d32d443e06fb9c537fb429b034f25cca66ed7e8702dd8bd7a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba087d4489229f31582e552e7d10210c874578cefba9f6a855af8b334c63c0d4089a01825885d9f86cd28f29a59495b9f9103fc99d61fa5663fd6171bee04e79d8df7a0777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008001830f4240830186a08203e800a000000000000000000000000000000000000000000000000000000000000000018800000000000000000aa056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421f862f860800a830186a094000000000000000000000000000000000c5ea70580801ba0be1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106a07772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245c0c0", + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x0a", + "nonce" : "0x00", + "r" : "0xbe1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106", + "s" : "0x7772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245", + "sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "0x000000000000000000000000000000000c5ea705", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ], + "withdrawals" : [ + ] + } + ], + "genesisBlockHeader" : { + "baseFeePerGas" : "0x0b", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x00", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0x622b399c179c8894d32d443e06fb9c537fb429b034f25cca66ed7e8702dd8bd7", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "nonce" : "0x0000000000000000", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x3b72d4ea9d74e0fb89389c569beef7b80b722e17bbe05635c7c5c8d732ad60a5", + "timestamp" : "0x00", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" + }, + "genesisRLP" : "0xf90218f90212a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba03b72d4ea9d74e0fb89389c569beef7b80b722e17bbe05635c7c5c8d732ad60a5a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080830f4240808000a000000000000000000000000000000000000000000000000000000000000000018800000000000000000ba056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421c0c0c0", + "lastblockhash" : "0xf0f516fe39c5308fec04b51756a30360c3ff1ed85e5b8de0c14c587a57c8bdca", + "network" : "Shanghai", + "postState" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x000000000000000000000000000000000c5ea705" : { + "balance" : "0x00", + "code" : "0x6000601980601183398180f560005500fe600080808080625ef94d61c350f15060ef60005360016000f3", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3106afdc0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x000000000000000000000000000000000c5ea705" : { + "balance" : "0x00", + "code" : "0x6000601980601183398180f560005500fe600080808080625ef94d61c350f15060ef60005360016000f3", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3107a4000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreateTest/CreateTransactionRefundEF.json b/BlockchainTests/GeneralStateTests/stCreateTest/CreateTransactionRefundEF.json new file mode 100644 index 00000000000..5c77700f725 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreateTest/CreateTransactionRefundEF.json @@ -0,0 +1,565 @@ +{ + "CreateTransactionRefundEF_d0g0v0_Berlin" : { + "_info" : { + "comment" : "Test combination of gas refund and EF-prefixed create transaction failure.\n", + "filling-rpc-server" : "evm version 1.13.5-unstable-233db64c-20231027", + "filling-tool-version" : "retesteth-0.3.1-cancun+commit.c768ec72.Linux.g++", + "generatedTestHash" : "6c6ef9739f7ab27a63b62a9a5a2560b81ce6478b4d35262037553ff643fecd7f", + "lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", + "solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CreateTransactionRefundEFFiller.yml", + "sourceHash" : "3fbcdc2eeb5c6678c72f56062411d9d667adcd242150c39ed3eb92257cb07c13" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x020000", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0xb483", + "hash" : "0xfc7c31bfb4ef6fd55df9cb94b4684d892e740c0381a09e0fbde1ce5621917712", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0xf071b493b7053dd348386e0f822ed6dc3f376b3b393595b0764b1fce02b8319e", + "receiptTrie" : "0x6ea4160f7373961e93826e3bbd6023cc90a0c2312bb03df5915786bf2bacb864", + "stateRoot" : "0x46f69390a40e487d808f64302f6d344781b631d330b05b5afcd1e22a490916ff", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xbc4da78c15d3d74ca036f3e7919f60ddce880012debcf5317e55657d7d5d12d1", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90264f901f7a0f071b493b7053dd348386e0f822ed6dc3f376b3b393595b0764b1fce02b8319ea01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba046f69390a40e487d808f64302f6d344781b631d330b05b5afcd1e22a490916ffa0bc4da78c15d3d74ca036f3e7919f60ddce880012debcf5317e55657d7d5d12d1a06ea4160f7373961e93826e3bbd6023cc90a0c2312bb03df5915786bf2bacb864b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f424082b4838203e800a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f867f865800a830186a0808099600080808080625ef94d61c350f15060ef60005360016000f31ca0b2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0aa0486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132c0", + "transactions" : [ + { + "data" : "0x600080808080625ef94d61c350f15060ef60005360016000f3", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x0a", + "nonce" : "0x00", + "r" : "0xb2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0a", + "s" : "0x486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132", + "sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x01", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0xf071b493b7053dd348386e0f822ed6dc3f376b3b393595b0764b1fce02b8319e", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x0453a2109b8f98d0445f63666ce3b3b7e20d4a02d4e6be13ed834e5b39f4636e", + "timestamp" : "0x00", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901f5f901f0a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba00453a2109b8f98d0445f63666ce3b3b7e20d4a02d4e6be13ed834e5b39f4636ea056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180830f4240808000a00000000000000000000000000000000000000000000000000000000000000000880000000000000000c0c0", + "lastblockhash" : "0xfc7c31bfb4ef6fd55df9cb94b4684d892e740c0381a09e0fbde1ce5621917712", + "network" : "Berlin", + "postState" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "0xef", + "nonce" : "0x01", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x1bc1c85a5f424000", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3107a4000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + }, + "CreateTransactionRefundEF_d0g0v0_Cancun" : { + "_info" : { + "comment" : "Test combination of gas refund and EF-prefixed create transaction failure.\n", + "filling-rpc-server" : "evm version 1.13.5-unstable-233db64c-20231027", + "filling-tool-version" : "retesteth-0.3.1-cancun+commit.c768ec72.Linux.g++", + "generatedTestHash" : "24325a643d315c7e82947f40c299f83fc8784f08488233b3a010aa65a237faf5", + "lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", + "solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CreateTransactionRefundEFFiller.yml", + "sourceHash" : "3fbcdc2eeb5c6678c72f56062411d9d667adcd242150c39ed3eb92257cb07c13" + }, + "blocks" : [ + { + "blockHeader" : { + "baseFeePerGas" : "0x0a", + "blobGasUsed" : "0x00", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x00", + "excessBlobGas" : "0x00", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x0186a0", + "hash" : "0x418494ee1e6a30a8ed53ed0f973fd30d303d7654bdd4d7a9ee7045e9691afd46", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentBeaconBlockRoot" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "parentHash" : "0x0fba3b903fe3f75fe149335a0a060df1ffdbdcbbdb3fa3e98383edc3153af8c2", + "receiptTrie" : "0x777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4", + "stateRoot" : "0x4b1bc97fd4a78def80c3b4b6471400e9170f5d8850fe17170119c21adcec5f21", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xbc4da78c15d3d74ca036f3e7919f60ddce880012debcf5317e55657d7d5d12d1", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" + }, + "rlp" : "0xf902a8f9023aa00fba3b903fe3f75fe149335a0a060df1ffdbdcbbdb3fa3e98383edc3153af8c2a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba04b1bc97fd4a78def80c3b4b6471400e9170f5d8850fe17170119c21adcec5f21a0bc4da78c15d3d74ca036f3e7919f60ddce880012debcf5317e55657d7d5d12d1a0777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008001830f4240830186a08203e800a000000000000000000000000000000000000000000000000000000000000000018800000000000000000aa056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080a00000000000000000000000000000000000000000000000000000000000000000f867f865800a830186a0808099600080808080625ef94d61c350f15060ef60005360016000f31ca0b2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0aa0486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132c0c0", + "transactions" : [ + { + "data" : "0x600080808080625ef94d61c350f15060ef60005360016000f3", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x0a", + "nonce" : "0x00", + "r" : "0xb2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0a", + "s" : "0x486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132", + "sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ], + "withdrawals" : [ + ] + } + ], + "genesisBlockHeader" : { + "baseFeePerGas" : "0x0b", + "blobGasUsed" : "0x00", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x00", + "excessBlobGas" : "0x00", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0x0fba3b903fe3f75fe149335a0a060df1ffdbdcbbdb3fa3e98383edc3153af8c2", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "nonce" : "0x0000000000000000", + "number" : "0x00", + "parentBeaconBlockRoot" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x0453a2109b8f98d0445f63666ce3b3b7e20d4a02d4e6be13ed834e5b39f4636e", + "timestamp" : "0x00", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" + }, + "genesisRLP" : "0xf9023bf90235a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba00453a2109b8f98d0445f63666ce3b3b7e20d4a02d4e6be13ed834e5b39f4636ea056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080830f4240808000a000000000000000000000000000000000000000000000000000000000000000018800000000000000000ba056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080a00000000000000000000000000000000000000000000000000000000000000000c0c0c0", + "lastblockhash" : "0x418494ee1e6a30a8ed53ed0f973fd30d303d7654bdd4d7a9ee7045e9691afd46", + "network" : "Cancun", + "postState" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3106afdc0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3107a4000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + }, + "CreateTransactionRefundEF_d0g0v0_London" : { + "_info" : { + "comment" : "Test combination of gas refund and EF-prefixed create transaction failure.\n", + "filling-rpc-server" : "evm version 1.13.5-unstable-233db64c-20231027", + "filling-tool-version" : "retesteth-0.3.1-cancun+commit.c768ec72.Linux.g++", + "generatedTestHash" : "d3ef916dc8cad54ab2a3a034ecb8d8931b85a0a50760ee6ee699587dbe103249", + "lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", + "solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CreateTransactionRefundEFFiller.yml", + "sourceHash" : "3fbcdc2eeb5c6678c72f56062411d9d667adcd242150c39ed3eb92257cb07c13" + }, + "blocks" : [ + { + "blockHeader" : { + "baseFeePerGas" : "0x0a", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x020000", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x0186a0", + "hash" : "0x27a5aea5c121205116631e9b810b47bbe36cb901cdd0cde2f9008fc944942798", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x77887bc1ad0d23b6ad05d6b76fb4321de6adf92dd8820b4866b5cc6585bef34c", + "receiptTrie" : "0x777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4", + "stateRoot" : "0x3c73874ad43e341f9b59ee28171b8841f69747ea483922419c6d10c645cd4911", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xbc4da78c15d3d74ca036f3e7919f60ddce880012debcf5317e55657d7d5d12d1", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90266f901f9a077887bc1ad0d23b6ad05d6b76fb4321de6adf92dd8820b4866b5cc6585bef34ca01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba03c73874ad43e341f9b59ee28171b8841f69747ea483922419c6d10c645cd4911a0bc4da78c15d3d74ca036f3e7919f60ddce880012debcf5317e55657d7d5d12d1a0777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f4240830186a08203e800a000000000000000000000000000000000000000000000000000000000000000008800000000000000000af867f865800a830186a0808099600080808080625ef94d61c350f15060ef60005360016000f31ca0b2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0aa0486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132c0", + "transactions" : [ + { + "data" : "0x600080808080625ef94d61c350f15060ef60005360016000f3", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x0a", + "nonce" : "0x00", + "r" : "0xb2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0a", + "s" : "0x486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132", + "sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "baseFeePerGas" : "0x0b", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x01", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0x77887bc1ad0d23b6ad05d6b76fb4321de6adf92dd8820b4866b5cc6585bef34c", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x0453a2109b8f98d0445f63666ce3b3b7e20d4a02d4e6be13ed834e5b39f4636e", + "timestamp" : "0x00", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901f6f901f1a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba00453a2109b8f98d0445f63666ce3b3b7e20d4a02d4e6be13ed834e5b39f4636ea056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180830f4240808000a000000000000000000000000000000000000000000000000000000000000000008800000000000000000bc0c0", + "lastblockhash" : "0x27a5aea5c121205116631e9b810b47bbe36cb901cdd0cde2f9008fc944942798", + "network" : "London", + "postState" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x1bc1c85a5f32fdc0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3107a4000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + }, + "CreateTransactionRefundEF_d0g0v0_Merge" : { + "_info" : { + "comment" : "Test combination of gas refund and EF-prefixed create transaction failure.\n", + "filling-rpc-server" : "evm version 1.13.5-unstable-233db64c-20231027", + "filling-tool-version" : "retesteth-0.3.1-cancun+commit.c768ec72.Linux.g++", + "generatedTestHash" : "d0ac78aae6e9b3f0a4456eed77cceeeb6e773044a4c87145774b93580c6ba4d7", + "lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", + "solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CreateTransactionRefundEFFiller.yml", + "sourceHash" : "3fbcdc2eeb5c6678c72f56062411d9d667adcd242150c39ed3eb92257cb07c13" + }, + "blocks" : [ + { + "blockHeader" : { + "baseFeePerGas" : "0x0a", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x00", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x0186a0", + "hash" : "0xcaf67171778654dff51b2d82b511aee97070450be3e9713d27aaa6ead0a99c9d", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0xbcf5f6af170b2bb15be509d50c2e5a92f64c25b1344e64aac13b9619846cf27d", + "receiptTrie" : "0x777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4", + "stateRoot" : "0x4b1bc97fd4a78def80c3b4b6471400e9170f5d8850fe17170119c21adcec5f21", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xbc4da78c15d3d74ca036f3e7919f60ddce880012debcf5317e55657d7d5d12d1", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90263f901f6a0bcf5f6af170b2bb15be509d50c2e5a92f64c25b1344e64aac13b9619846cf27da01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba04b1bc97fd4a78def80c3b4b6471400e9170f5d8850fe17170119c21adcec5f21a0bc4da78c15d3d74ca036f3e7919f60ddce880012debcf5317e55657d7d5d12d1a0777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008001830f4240830186a08203e800a000000000000000000000000000000000000000000000000000000000000000018800000000000000000af867f865800a830186a0808099600080808080625ef94d61c350f15060ef60005360016000f31ca0b2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0aa0486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132c0", + "transactions" : [ + { + "data" : "0x600080808080625ef94d61c350f15060ef60005360016000f3", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x0a", + "nonce" : "0x00", + "r" : "0xb2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0a", + "s" : "0x486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132", + "sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "baseFeePerGas" : "0x0b", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x00", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0xbcf5f6af170b2bb15be509d50c2e5a92f64c25b1344e64aac13b9619846cf27d", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "nonce" : "0x0000000000000000", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x0453a2109b8f98d0445f63666ce3b3b7e20d4a02d4e6be13ed834e5b39f4636e", + "timestamp" : "0x00", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901f6f901f1a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba00453a2109b8f98d0445f63666ce3b3b7e20d4a02d4e6be13ed834e5b39f4636ea056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080830f4240808000a000000000000000000000000000000000000000000000000000000000000000018800000000000000000bc0c0", + "lastblockhash" : "0xcaf67171778654dff51b2d82b511aee97070450be3e9713d27aaa6ead0a99c9d", + "network" : "Merge", + "postState" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3106afdc0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3107a4000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + }, + "CreateTransactionRefundEF_d0g0v0_Shanghai" : { + "_info" : { + "comment" : "Test combination of gas refund and EF-prefixed create transaction failure.\n", + "filling-rpc-server" : "evm version 1.13.5-unstable-233db64c-20231027", + "filling-tool-version" : "retesteth-0.3.1-cancun+commit.c768ec72.Linux.g++", + "generatedTestHash" : "e314066fd2beae44ff0be477baa6463d9967d410df70a11f256e9205f104945c", + "lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", + "solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CreateTransactionRefundEFFiller.yml", + "sourceHash" : "3fbcdc2eeb5c6678c72f56062411d9d667adcd242150c39ed3eb92257cb07c13" + }, + "blocks" : [ + { + "blockHeader" : { + "baseFeePerGas" : "0x0a", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x00", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x0186a0", + "hash" : "0x2cf0c9d94c908a66da109c92f9dfc35163795733f6e42bd7df75e82ea962cf1c", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x3c625fb353c7fd5f754b07c96b842e892ade126101c93e0913d67924f2ed9f09", + "receiptTrie" : "0x777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4", + "stateRoot" : "0x4b1bc97fd4a78def80c3b4b6471400e9170f5d8850fe17170119c21adcec5f21", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xbc4da78c15d3d74ca036f3e7919f60ddce880012debcf5317e55657d7d5d12d1", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" + }, + "rlp" : "0xf90285f90217a03c625fb353c7fd5f754b07c96b842e892ade126101c93e0913d67924f2ed9f09a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba04b1bc97fd4a78def80c3b4b6471400e9170f5d8850fe17170119c21adcec5f21a0bc4da78c15d3d74ca036f3e7919f60ddce880012debcf5317e55657d7d5d12d1a0777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008001830f4240830186a08203e800a000000000000000000000000000000000000000000000000000000000000000018800000000000000000aa056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421f867f865800a830186a0808099600080808080625ef94d61c350f15060ef60005360016000f31ca0b2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0aa0486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132c0c0", + "transactions" : [ + { + "data" : "0x600080808080625ef94d61c350f15060ef60005360016000f3", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x0a", + "nonce" : "0x00", + "r" : "0xb2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0a", + "s" : "0x486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132", + "sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ], + "withdrawals" : [ + ] + } + ], + "genesisBlockHeader" : { + "baseFeePerGas" : "0x0b", + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "0x00", + "extraData" : "0x00", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0x3c625fb353c7fd5f754b07c96b842e892ade126101c93e0913d67924f2ed9f09", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "nonce" : "0x0000000000000000", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x0453a2109b8f98d0445f63666ce3b3b7e20d4a02d4e6be13ed834e5b39f4636e", + "timestamp" : "0x00", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" + }, + "genesisRLP" : "0xf90218f90212a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a94f5374fce5edbc8e2a8697c15331677e6ebf0ba00453a2109b8f98d0445f63666ce3b3b7e20d4a02d4e6be13ed834e5b39f4636ea056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080830f4240808000a000000000000000000000000000000000000000000000000000000000000000018800000000000000000ba056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421c0c0c0", + "lastblockhash" : "0x2cf0c9d94c908a66da109c92f9dfc35163795733f6e42bd7df75e82ea962cf1c", + "network" : "Shanghai", + "postState" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3106afdc0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3107a4000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/GeneralStateTests/stCreateTest/CREATE2_RefundEF.json b/GeneralStateTests/stCreateTest/CREATE2_RefundEF.json new file mode 100644 index 00000000000..cfaeab165cf --- /dev/null +++ b/GeneralStateTests/stCreateTest/CREATE2_RefundEF.json @@ -0,0 +1,128 @@ +{ + "CREATE2_RefundEF" : { + "_info" : { + "comment" : "Test combination of gas refund and EF-prefixed CREATE2 failure.\n", + "filling-rpc-server" : "evm version 1.13.5-unstable-233db64c-20231027", + "filling-tool-version" : "retesteth-0.3.1-cancun+commit.c768ec72.Linux.g++", + "generatedTestHash" : "043d7ca1c39878a6a4b63cc0bb251d6719dca8286acd1f7e018f2d52ce45bc0e", + "lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", + "solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CREATE2_RefundEFFiller.yml", + "sourceHash" : "8438c3be6eacdde0b540bb6da43293901a9eaf30a83faf47480e5d4893d06178" + }, + "env" : { + "currentBaseFee" : "0x0a", + "currentBeaconRoot" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "currentCoinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentDifficulty" : "0x01", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentRandom" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "currentTimestamp" : "0x03e8", + "currentWithdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Berlin" : [ + { + "hash" : "0x9ded3dabb4f1a06234adcad45bcb091a941e89cc2509a2e68c7da31181524e72", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "txbytes" : "0xf860800a830186a094000000000000000000000000000000000c5ea70580801ba0be1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106a07772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245" + } + ], + "Cancun" : [ + { + "hash" : "0x87d4489229f31582e552e7d10210c874578cefba9f6a855af8b334c63c0d4089", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "txbytes" : "0xf860800a830186a094000000000000000000000000000000000c5ea70580801ba0be1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106a07772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245" + } + ], + "London" : [ + { + "hash" : "0x87d4489229f31582e552e7d10210c874578cefba9f6a855af8b334c63c0d4089", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "txbytes" : "0xf860800a830186a094000000000000000000000000000000000c5ea70580801ba0be1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106a07772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245" + } + ], + "Merge" : [ + { + "hash" : "0x87d4489229f31582e552e7d10210c874578cefba9f6a855af8b334c63c0d4089", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "txbytes" : "0xf860800a830186a094000000000000000000000000000000000c5ea70580801ba0be1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106a07772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245" + } + ], + "Shanghai" : [ + { + "hash" : "0x87d4489229f31582e552e7d10210c874578cefba9f6a855af8b334c63c0d4089", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "txbytes" : "0xf860800a830186a094000000000000000000000000000000000c5ea70580801ba0be1a87855d5fb33c626d3ffe010a72025f2e49bbdfea9990f7673e0accac0106a07772ddb064c02f526a94d0efbc15f386f98524e3d23a36400835a66121dde245" + } + ] + }, + "pre" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x000000000000000000000000000000000c5ea705" : { + "balance" : "0x00", + "code" : "0x6000601980601183398180f560005500fe600080808080625ef94d61c350f15060ef60005360016000f3", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3107a4000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x0186a0" + ], + "gasPrice" : "0x0a", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "0x000000000000000000000000000000000c5ea705", + "value" : [ + "0x00" + ] + } + } +} \ No newline at end of file diff --git a/GeneralStateTests/stCreateTest/CreateTransactionRefundEF.json b/GeneralStateTests/stCreateTest/CreateTransactionRefundEF.json new file mode 100644 index 00000000000..086040d62fc --- /dev/null +++ b/GeneralStateTests/stCreateTest/CreateTransactionRefundEF.json @@ -0,0 +1,124 @@ +{ + "CreateTransactionRefundEF" : { + "_info" : { + "comment" : "Test combination of gas refund and EF-prefixed create transaction failure.\n", + "filling-rpc-server" : "evm version 1.13.5-unstable-233db64c-20231027", + "filling-tool-version" : "retesteth-0.3.1-cancun+commit.c768ec72.Linux.g++", + "generatedTestHash" : "4c0a6fa32e25e51659184cf918d5773e50a42c2714520d447b789e44befe392d", + "labels" : { + "0" : "refund_EF" + }, + "lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", + "solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CreateTransactionRefundEFFiller.yml", + "sourceHash" : "3fbcdc2eeb5c6678c72f56062411d9d667adcd242150c39ed3eb92257cb07c13" + }, + "env" : { + "currentBaseFee" : "0x0a", + "currentBeaconRoot" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "currentCoinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentDifficulty" : "0x01", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentRandom" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "currentTimestamp" : "0x03e8", + "currentWithdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Berlin" : [ + { + "hash" : "0xb45f4612111abe68be9eabbed3ac1d3ef54ae0143093fd58ed714c1969ec98d9", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "txbytes" : "0xf865800a830186a0808099600080808080625ef94d61c350f15060ef60005360016000f31ca0b2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0aa0486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132" + } + ], + "Cancun" : [ + { + "hash" : "0x4b1bc97fd4a78def80c3b4b6471400e9170f5d8850fe17170119c21adcec5f21", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "txbytes" : "0xf865800a830186a0808099600080808080625ef94d61c350f15060ef60005360016000f31ca0b2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0aa0486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132" + } + ], + "London" : [ + { + "hash" : "0x4b1bc97fd4a78def80c3b4b6471400e9170f5d8850fe17170119c21adcec5f21", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "txbytes" : "0xf865800a830186a0808099600080808080625ef94d61c350f15060ef60005360016000f31ca0b2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0aa0486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132" + } + ], + "Merge" : [ + { + "hash" : "0x4b1bc97fd4a78def80c3b4b6471400e9170f5d8850fe17170119c21adcec5f21", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "txbytes" : "0xf865800a830186a0808099600080808080625ef94d61c350f15060ef60005360016000f31ca0b2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0aa0486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132" + } + ], + "Shanghai" : [ + { + "hash" : "0x4b1bc97fd4a78def80c3b4b6471400e9170f5d8850fe17170119c21adcec5f21", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "txbytes" : "0xf865800a830186a0808099600080808080625ef94d61c350f15060ef60005360016000f31ca0b2905a92bfc7f3f0d932179176c4e631b32924b2c9060453a47ca4bdaac9da0aa0486e74e5ede0039eb79463d9db165afbf0d1d0505826f04175c50146e4d8e132" + } + ] + }, + "pre" : { + "0x00000000000000000000000000000000005ef94d" : { + "balance" : "0x00", + "code" : "0x6000805500", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5af3107a4000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x600080808080625ef94d61c350f15060ef60005360016000f3" + ], + "gasLimit" : [ + "0x0186a0" + ], + "gasPrice" : "0x0a", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "", + "value" : [ + "0x00" + ] + } + } +} \ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE2_RefundEFFiller.yml b/src/GeneralStateTestsFiller/stCreateTest/CREATE2_RefundEFFiller.yml new file mode 100644 index 00000000000..0d9be313b81 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE2_RefundEFFiller.yml @@ -0,0 +1,81 @@ +CREATE2_RefundEF: + _info: + comment: | + Test combination of gas refund and EF-prefixed CREATE2 failure. + env: + currentCoinbase: a94f5374fce5edbc8e2a8697c15331677e6ebf0b + currentDifficulty: 1 + currentGasLimit: 1000000 + currentNumber: 1 + currentTimestamp: 1000 + previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6 + pre: + a94f5374fce5edbc8e2a8697c15331677e6ebf0b: + nonce: 0 + balance: 100000000000000 + storage: { } + code: '' + + # Provides gas refund. + 00000000000000000000000000000000005ef94d: + nonce: 0 + balance: 0 + storage: + 0: 1 + code: | + :yul london { + sstore(0,0) + } + + # Contract creator. + 000000000000000000000000000000000c5ea705: + nonce: 0 + balance: 0 + storage: { } + code: | + :yul london object "C" { + code { + let s := datasize("initcode") + let o := dataoffset("initcode") + codecopy(0, o, s) + let r := create2(0, 0, s, 0) + sstore(0, r) + stop() + } + + object "initcode" { + code { + // call gas refund provider + let r := call(50000, 0x5ef94d, 0, 0, 0, 0, 0) + // return 0xEF + mstore8(0,0xEF) + return(0,1) + } + } + } + + transaction: + data: [ '' ] + gasLimit: [ 100000 ] + gasPrice: 10 + nonce: 0 + secretKey: 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8 + to: 000000000000000000000000000000000c5ea705 + value: [ 0 ] + expect: + - network: + - "Berlin" + result: + 00000000000000000000000000000000005ef94d: + storage: + 0: 0 + be8f87148d0767989cce2e6a6a5d91c7d0c840e0: + code: '0xEF' + - network: + - ">=London" + result: + 00000000000000000000000000000000005ef94d: + storage: + 0: 1 + be8f87148d0767989cce2e6a6a5d91c7d0c840e0: + shouldnotexist: true diff --git a/src/GeneralStateTestsFiller/stCreateTest/CreateTransactionRefundEFFiller.yml b/src/GeneralStateTestsFiller/stCreateTest/CreateTransactionRefundEFFiller.yml new file mode 100644 index 00000000000..cb0b6a7f5f1 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreateTest/CreateTransactionRefundEFFiller.yml @@ -0,0 +1,68 @@ +CreateTransactionRefundEF: + _info: + comment: | + Test combination of gas refund and EF-prefixed create transaction failure. + env: + currentCoinbase: a94f5374fce5edbc8e2a8697c15331677e6ebf0b + currentDifficulty: 1 + currentGasLimit: 1000000 + currentNumber: 1 + currentTimestamp: 1000 + previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6 + pre: + a94f5374fce5edbc8e2a8697c15331677e6ebf0b: + nonce: 0 + balance: 100000000000000 + storage: { } + code: '' + + # Provides gas refund. + 00000000000000000000000000000000005ef94d: + nonce: 0 + balance: 0 + storage: + 0: 1 + code: | + :yul berlin { + sstore(0,0) + } + + transaction: + data: + - | + :label refund_EF :yul berlin { + // call gas refund provider + let r := call(50000, 0x5ef94d, 0, 0, 0, 0, 0) + // return 0xEF + mstore8(0,0xEF) + return(0,1) + } + gasLimit: [ 100000 ] + gasPrice: 10 + nonce: 0 + secretKey: 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8 + to: '' + value: [ 0 ] + expect: + - indexes: + data: + - :label refund_EF + network: + - "Berlin" + result: + 00000000000000000000000000000000005ef94d: + storage: + 0: 0 + 6295ee1b4f6dd65047762f924ecd367c17eabf8f: + code: '0xEF' + - indexes: + data: + - :label refund_EF + network: + - ">=London" + result: + 00000000000000000000000000000000005ef94d: + storage: + 0: 1 + 6295ee1b4f6dd65047762f924ecd367c17eabf8f: + shouldnotexist: true