-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EIP-3855: Test for gas cost of PUSH0
- Loading branch information
Showing
3 changed files
with
361 additions
and
0 deletions.
There are no files selected for viewing
226 changes: 226 additions & 0 deletions
226
BlockchainTests/GeneralStateTests/VMTests/vmTests/push0Gas.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,226 @@ | ||
{ | ||
"push0Gas_d0g0v0_London" : { | ||
"_info" : { | ||
"comment" : "", | ||
"filling-rpc-server" : "evm version 1.10.14-unstable-62252fa0-20211203", | ||
"filling-tool-version" : "retesteth-0.2.0-memory+commit.0cb69687.Linux.g++", | ||
"generatedTestHash" : "1fa71b8ac24bd4a731a5861e78aa2079cb84df41313e5d42a76b0d42647faecf", | ||
"lllcversion" : "Version: 0.5.14-develop.2021.4.29+commit.14c9d5de.Linux.clang", | ||
"source" : "src/GeneralStateTestsFiller/VMTests/vmTests/push0GasFiller.yml", | ||
"sourceHash" : "1c1e1713f8a8ad4938ef7acafcb05d7e2b980db26c1222e687183804f744ec81" | ||
}, | ||
"blocks" : [ | ||
{ | ||
"blockHeader" : { | ||
"baseFeePerGas" : "0x0a", | ||
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", | ||
"difficulty" : "0x020000", | ||
"extraData" : "0x00", | ||
"gasLimit" : "0x05500000", | ||
"gasUsed" : "0x0186a0", | ||
"hash" : "0x5f2e1cfd0080aa524c138def7818fb8655aeb8eae59935e361911755dce80a9e", | ||
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"nonce" : "0x0000000000000000", | ||
"number" : "0x01", | ||
"parentHash" : "0xecc5ab9b464f30346cace105f61b25b7a1af969fc36f470ee0ae598a834fe5e1", | ||
"receiptTrie" : "0x777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4", | ||
"stateRoot" : "0x55481d020efe1d7f9848f13bdee101940cfba55ab2e19e277452bf7fb1bc534b", | ||
"timestamp" : "0x03e8", | ||
"transactionsTrie" : "0xd10b95f7e7ff07b46282ae946d81c9f0d825ae9e056ecd7f10333b0daeb30e03", | ||
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" | ||
}, | ||
"rlp" : "0xf90262f901faa0ecc5ab9b464f30346cace105f61b25b7a1af969fc36f470ee0ae598a834fe5e1a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa055481d020efe1d7f9848f13bdee101940cfba55ab2e19e277452bf7fb1bc534ba0d10b95f7e7ff07b46282ae946d81c9f0d825ae9e056ecd7f10333b0daeb30e03a0777f1c1c378807634128348e4f0eeca6a0e7f516ea411690ca04266323f671a4b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000083020000018405500000830186a08203e800a000000000000000000000000000000000000000000000000000000000000000008800000000000000000af862f860800a830186a094000000000000000000000000000000000000010080801ca0753590b1e64336e51b421406117bb41e0276af5c97af6cb5b4fae36ef8a06ff4a028cacd94912f457a7154683fc73136dc930f2834483e6c655904e2e32a82210ac0", | ||
"transactions" : [ | ||
{ | ||
"data" : "0x", | ||
"gasLimit" : "0x0186a0", | ||
"gasPrice" : "0x0a", | ||
"nonce" : "0x00", | ||
"r" : "0x753590b1e64336e51b421406117bb41e0276af5c97af6cb5b4fae36ef8a06ff4", | ||
"s" : "0x28cacd94912f457a7154683fc73136dc930f2834483e6c655904e2e32a82210a", | ||
"to" : "0x0000000000000000000000000000000000000100", | ||
"v" : "0x1c", | ||
"value" : "0x00" | ||
} | ||
], | ||
"uncleHeaders" : [ | ||
] | ||
} | ||
], | ||
"genesisBlockHeader" : { | ||
"baseFeePerGas" : "0x0b", | ||
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", | ||
"difficulty" : "0x020000", | ||
"extraData" : "0x00", | ||
"gasLimit" : "0x05500000", | ||
"gasUsed" : "0x00", | ||
"hash" : "0xecc5ab9b464f30346cace105f61b25b7a1af969fc36f470ee0ae598a834fe5e1", | ||
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"nonce" : "0x0000000000000000", | ||
"number" : "0x00", | ||
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"stateRoot" : "0x7edd5df87551fefd4b1f3debc6f904d8a8f4794656b8efc53663338e5c430179", | ||
"timestamp" : "0x00", | ||
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" | ||
}, | ||
"genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa07edd5df87551fefd4b1f3debc6f904d8a8f4794656b8efc53663338e5c430179a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000083020000808405500000808000a000000000000000000000000000000000000000000000000000000000000000008800000000000000000bc0c0", | ||
"lastblockhash" : "0x5f2e1cfd0080aa524c138def7818fb8655aeb8eae59935e361911755dce80a9e", | ||
"network" : "London", | ||
"postState" : { | ||
"0x0000000000000000000000000000000000000100" : { | ||
"balance" : "0x00", | ||
"code" : "0x5f", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
}, | ||
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { | ||
"balance" : "0x1bc16d674ec80000", | ||
"code" : "0x", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
}, | ||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { | ||
"balance" : "0x895440", | ||
"code" : "0x", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
} | ||
} | ||
}, | ||
"pre" : { | ||
"0x0000000000000000000000000000000000000100" : { | ||
"balance" : "0x00", | ||
"code" : "0x5f", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
}, | ||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { | ||
"balance" : "0x989680", | ||
"code" : "0x", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
} | ||
}, | ||
"sealEngine" : "NoProof" | ||
}, | ||
"push0Gas_d0g0v0_London+3855" : { | ||
"_info" : { | ||
"comment" : "", | ||
"filling-rpc-server" : "evm version 1.10.14-unstable-62252fa0-20211203", | ||
"filling-tool-version" : "retesteth-0.2.0-memory+commit.0cb69687.Linux.g++", | ||
"generatedTestHash" : "4ccb761d8e8a2776731b6e7cf57f06dd1586e5e999052604485d7ce7a64c934c", | ||
"lllcversion" : "Version: 0.5.14-develop.2021.4.29+commit.14c9d5de.Linux.clang", | ||
"source" : "src/GeneralStateTestsFiller/VMTests/vmTests/push0GasFiller.yml", | ||
"sourceHash" : "1c1e1713f8a8ad4938ef7acafcb05d7e2b980db26c1222e687183804f744ec81" | ||
}, | ||
"blocks" : [ | ||
{ | ||
"blockHeader" : { | ||
"baseFeePerGas" : "0x0a", | ||
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", | ||
"difficulty" : "0x020000", | ||
"extraData" : "0x00", | ||
"gasLimit" : "0x05500000", | ||
"gasUsed" : "0x520a", | ||
"hash" : "0x6280de2646117f433ce35c0a3e2e5df73125e50034b6645375b579b2368e7a0d", | ||
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"nonce" : "0x0000000000000000", | ||
"number" : "0x01", | ||
"parentHash" : "0xecc5ab9b464f30346cace105f61b25b7a1af969fc36f470ee0ae598a834fe5e1", | ||
"receiptTrie" : "0xec94a9347e4e2f31750ad438f0f08614eedc150f6b5aff0dced861bb9f52f8ab", | ||
"stateRoot" : "0xf5b540144c322adf15f06c316e596ebe0d4575c17c6898079287819f8da69e50", | ||
"timestamp" : "0x03e8", | ||
"transactionsTrie" : "0xd10b95f7e7ff07b46282ae946d81c9f0d825ae9e056ecd7f10333b0daeb30e03", | ||
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" | ||
}, | ||
"rlp" : "0xf90261f901f9a0ecc5ab9b464f30346cace105f61b25b7a1af969fc36f470ee0ae598a834fe5e1a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f5b540144c322adf15f06c316e596ebe0d4575c17c6898079287819f8da69e50a0d10b95f7e7ff07b46282ae946d81c9f0d825ae9e056ecd7f10333b0daeb30e03a0ec94a9347e4e2f31750ad438f0f08614eedc150f6b5aff0dced861bb9f52f8abb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001840550000082520a8203e800a000000000000000000000000000000000000000000000000000000000000000008800000000000000000af862f860800a830186a094000000000000000000000000000000000000010080801ca0753590b1e64336e51b421406117bb41e0276af5c97af6cb5b4fae36ef8a06ff4a028cacd94912f457a7154683fc73136dc930f2834483e6c655904e2e32a82210ac0", | ||
"transactions" : [ | ||
{ | ||
"data" : "0x", | ||
"gasLimit" : "0x0186a0", | ||
"gasPrice" : "0x0a", | ||
"nonce" : "0x00", | ||
"r" : "0x753590b1e64336e51b421406117bb41e0276af5c97af6cb5b4fae36ef8a06ff4", | ||
"s" : "0x28cacd94912f457a7154683fc73136dc930f2834483e6c655904e2e32a82210a", | ||
"to" : "0x0000000000000000000000000000000000000100", | ||
"v" : "0x1c", | ||
"value" : "0x00" | ||
} | ||
], | ||
"uncleHeaders" : [ | ||
] | ||
} | ||
], | ||
"genesisBlockHeader" : { | ||
"baseFeePerGas" : "0x0b", | ||
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", | ||
"difficulty" : "0x020000", | ||
"extraData" : "0x00", | ||
"gasLimit" : "0x05500000", | ||
"gasUsed" : "0x00", | ||
"hash" : "0xecc5ab9b464f30346cace105f61b25b7a1af969fc36f470ee0ae598a834fe5e1", | ||
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"nonce" : "0x0000000000000000", | ||
"number" : "0x00", | ||
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"stateRoot" : "0x7edd5df87551fefd4b1f3debc6f904d8a8f4794656b8efc53663338e5c430179", | ||
"timestamp" : "0x00", | ||
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" | ||
}, | ||
"genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa07edd5df87551fefd4b1f3debc6f904d8a8f4794656b8efc53663338e5c430179a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000083020000808405500000808000a000000000000000000000000000000000000000000000000000000000000000008800000000000000000bc0c0", | ||
"lastblockhash" : "0x6280de2646117f433ce35c0a3e2e5df73125e50034b6645375b579b2368e7a0d", | ||
"network" : "London+3855", | ||
"postState" : { | ||
"0x0000000000000000000000000000000000000100" : { | ||
"balance" : "0x00", | ||
"code" : "0x5f", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
}, | ||
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { | ||
"balance" : "0x1bc16d674ec80000", | ||
"code" : "0x", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
}, | ||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { | ||
"balance" : "0x95621c", | ||
"code" : "0x", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
} | ||
} | ||
}, | ||
"pre" : { | ||
"0x0000000000000000000000000000000000000100" : { | ||
"balance" : "0x00", | ||
"code" : "0x5f", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
}, | ||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { | ||
"balance" : "0x989680", | ||
"code" : "0x", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
} | ||
}, | ||
"sealEngine" : "NoProof" | ||
} | ||
} |
Oops, something went wrong.