From 22558f3be8542021415ba94b9474618f6efc09a1 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 4 Sep 2018 13:57:15 +0300 Subject: create2 bounds + yoichi tests --- .../stCreate2/CREATE2_Bounds2_d0g0v0Filler.json | 75 +++++++++++++++++ .../stCreate2/CREATE2_Bounds2_d0g1v0Filler.json | 75 +++++++++++++++++ .../stCreate2/CREATE2_Bounds3_d0g0v0Filler.json | 75 +++++++++++++++++ .../stCreate2/CREATE2_Bounds3_d0g1v0Filler.json | 75 +++++++++++++++++ .../stCreate2/CREATE2_Bounds3_d0g2v0Filler.json | 75 +++++++++++++++++ .../stCreate2/CREATE2_Bounds_d0g0v0Filler.json | 77 ++++++++++++++++++ .../stCreate2/CREATE2_Bounds_d0g1v0Filler.json | 77 ++++++++++++++++++ ...uccessful_then_returndatasize_d0g0v0Filler.json | 92 +++++++++++++++++++++ ...uccessful_then_returndatasize_d0g0v0Filler.json | 95 ++++++++++++++++++++++ 9 files changed, 716 insertions(+) create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds2_d0g0v0Filler.json create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds2_d0g1v0Filler.json create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds3_d0g0v0Filler.json create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds3_d0g1v0Filler.json create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds3_d0g2v0Filler.json create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds_d0g0v0Filler.json create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds_d0g1v0Filler.json create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stCreate2/call_outsize_then_create2_successful_then_returndatasize_d0g0v0Filler.json create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stCreate2/call_then_create2_successful_then_returndatasize_d0g0v0Filler.json (limited to 'src/BlockchainTestsFiller') diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds2_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds2_d0g0v0Filler.json new file mode 100644 index 000000000..b5bd7719f --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds2_d0g0v0Filler.json @@ -0,0 +1,75 @@ +{ + "CREATE2_Bounds2_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x7fffffffffffffff", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0249f0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x5e9a8d9240c75515986647d9630197613462976cda4a542b6725e0b7eb4fedf3", + "s" : "0x1d242de15a6e46330a9a0d411f18ca2c9d27201fb6feefffe70b9313634e7be2", + "to" : "0x1000000000000000000000000000000000000000", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64" + }, + "0x13136008b64ff592819b2fa6d43f2835c452020e" : { + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x7fffffffffffffff", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64", + "code" : "0x7f6001600155601080600c6000396000f3006000355415600957005b602035600060005260356020536055602153600063ffffffff60006001f5", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0fffffffffffffffffffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds2_d0g1v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds2_d0g1v0Filler.json new file mode 100644 index 000000000..e99545523 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds2_d0g1v0Filler.json @@ -0,0 +1,75 @@ +{ + "CREATE2_Bounds2_d0g1v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x7fffffffffffffff", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0ee6b280", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xf56cade5a7835c5558487651eed88f2a60c7e479a532b75c3962b8bdc44573a8", + "s" : "0x1d4b7dd05400b9dce7a9efa5d6f80121194bc981dd9bfc13c6548916f79ec18a", + "to" : "0x1000000000000000000000000000000000000000", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64" + }, + "0x13136008b64ff592819b2fa6d43f2835c452020e" : { + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x7fffffffffffffff", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64", + "code" : "0x7f6001600155601080600c6000396000f3006000355415600957005b602035600060005260356020536055602153600063ffffffff60006001f5", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0fffffffffffffffffffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds3_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds3_d0g0v0Filler.json new file mode 100644 index 000000000..e7308fd28 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds3_d0g0v0Filler.json @@ -0,0 +1,75 @@ +{ + "CREATE2_Bounds3_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x7fffffffffffffff", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0249f0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x5e9a8d9240c75515986647d9630197613462976cda4a542b6725e0b7eb4fedf3", + "s" : "0x1d242de15a6e46330a9a0d411f18ca2c9d27201fb6feefffe70b9313634e7be2", + "to" : "0x1000000000000000000000000000000000000000", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64" + }, + "0x13136008b64ff592819b2fa6d43f2835c452020e" : { + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x7fffffffffffffff", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64", + "code" : "0x7f6001600155601080600c6000396000f3006000355415600957005b602035600060005260356020536055602153600067ffffffffffffffff60006001f55060006fffffffffffffffffffffffffffffffff60006001f55060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60006001f55060006000630fffffff6001f5506000600063ffffffff6001f5506000600067ffffffffffffffff6001f550600060006fffffffffffffffffffffffffffffffff6001f550600060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001f5506000630fffffff630fffffff6001f550600063ffffffff63ffffffff6001f550600067ffffffffffffffff67ffffffffffffffff6001f55060006fffffffffffffffffffffffffffffffff6fffffffffffffffffffffffffffffffff6001f55060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001f5", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0fffffffffffffffffffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds3_d0g1v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds3_d0g1v0Filler.json new file mode 100644 index 000000000..f871a0d9f --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds3_d0g1v0Filler.json @@ -0,0 +1,75 @@ +{ + "CREATE2_Bounds3_d0g1v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x7fffffffffffffff", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0f4240", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xdba91454aef4a40ec1ffc7478947b3f961bdd8f502591b01998c71d969a4e5b2", + "s" : "0x6097822fee14d0d7bc989a1ec4da1ac620c2a6345dd243e171ee7958dd293c71", + "to" : "0x1000000000000000000000000000000000000000", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64" + }, + "0x13136008b64ff592819b2fa6d43f2835c452020e" : { + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x7fffffffffffffff", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64", + "code" : "0x7f6001600155601080600c6000396000f3006000355415600957005b602035600060005260356020536055602153600067ffffffffffffffff60006001f55060006fffffffffffffffffffffffffffffffff60006001f55060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60006001f55060006000630fffffff6001f5506000600063ffffffff6001f5506000600067ffffffffffffffff6001f550600060006fffffffffffffffffffffffffffffffff6001f550600060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001f5506000630fffffff630fffffff6001f550600063ffffffff63ffffffff6001f550600067ffffffffffffffff67ffffffffffffffff6001f55060006fffffffffffffffffffffffffffffffff6fffffffffffffffffffffffffffffffff6001f55060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001f5", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0fffffffffffffffffffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds3_d0g2v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds3_d0g2v0Filler.json new file mode 100644 index 000000000..6afb345b9 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds3_d0g2v0Filler.json @@ -0,0 +1,75 @@ +{ + "CREATE2_Bounds3_d0g2v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x7fffffffffffffff", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0ee6b280", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xf56cade5a7835c5558487651eed88f2a60c7e479a532b75c3962b8bdc44573a8", + "s" : "0x1d4b7dd05400b9dce7a9efa5d6f80121194bc981dd9bfc13c6548916f79ec18a", + "to" : "0x1000000000000000000000000000000000000000", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64" + }, + "0x13136008b64ff592819b2fa6d43f2835c452020e" : { + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x7fffffffffffffff", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64", + "code" : "0x7f6001600155601080600c6000396000f3006000355415600957005b602035600060005260356020536055602153600067ffffffffffffffff60006001f55060006fffffffffffffffffffffffffffffffff60006001f55060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60006001f55060006000630fffffff6001f5506000600063ffffffff6001f5506000600067ffffffffffffffff6001f550600060006fffffffffffffffffffffffffffffffff6001f550600060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001f5506000630fffffff630fffffff6001f550600063ffffffff63ffffffff6001f550600067ffffffffffffffff67ffffffffffffffff6001f55060006fffffffffffffffffffffffffffffffff6fffffffffffffffffffffffffffffffff6001f55060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001f5", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0fffffffffffffffffffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds_d0g0v0Filler.json new file mode 100644 index 000000000..b6371e44e --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds_d0g0v0Filler.json @@ -0,0 +1,77 @@ +{ + "CREATE2_Bounds_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x7fffffffffffffff", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0249f0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x5e9a8d9240c75515986647d9630197613462976cda4a542b6725e0b7eb4fedf3", + "s" : "0x1d242de15a6e46330a9a0d411f18ca2c9d27201fb6feefffe70b9313634e7be2", + "to" : "0x1000000000000000000000000000000000000000", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64" + }, + "0x13136008b64ff592819b2fa6d43f2835c452020e" : { + }, + "0x7c5a2c91b22d7a9226523d4ba717db6afb741ebd" : { + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x7fffffffffffffff", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64", + "code" : "0x7f6001600155601080600c6000396000f3006000355415600957005b6020356000600052603560205360556021536000600060006001f5506000630fffffff60006001f5", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0fffffffffffffffffffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds_d0g1v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds_d0g1v0Filler.json new file mode 100644 index 000000000..9f49524c4 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CREATE2_Bounds_d0g1v0Filler.json @@ -0,0 +1,77 @@ +{ + "CREATE2_Bounds_d0g1v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x7fffffffffffffff", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0ee6b280", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xf56cade5a7835c5558487651eed88f2a60c7e479a532b75c3962b8bdc44573a8", + "s" : "0x1d4b7dd05400b9dce7a9efa5d6f80121194bc981dd9bfc13c6548916f79ec18a", + "to" : "0x1000000000000000000000000000000000000000", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64" + }, + "0x13136008b64ff592819b2fa6d43f2835c452020e" : { + }, + "0x7c5a2c91b22d7a9226523d4ba717db6afb741ebd" : { + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x7fffffffffffffff", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64", + "code" : "0x7f6001600155601080600c6000396000f3006000355415600957005b6020356000600052603560205360556021536000600060006001f5506000630fffffff60006001f5", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0fffffffffffffffffffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/call_outsize_then_create2_successful_then_returndatasize_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/call_outsize_then_create2_successful_then_returndatasize_d0g0v0Filler.json new file mode 100644 index 000000000..fd9e63599 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/call_outsize_then_create2_successful_then_returndatasize_d0g0v0Filler.json @@ -0,0 +1,92 @@ +{ + "call_outsize_then_create2_successful_then_returndatasize_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0a00000000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507", + "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Byzantium", + "result" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x7d111122223333444455556666777788889999aaaabbbbccccddddeeeeffff60005260206000f3", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x60206000600060006000730aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6640900000000f1506000600c80603c60003960006000f5503d600055006211223360005260206000f3", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/call_then_create2_successful_then_returndatasize_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/call_then_create2_successful_then_returndatasize_d0g0v0Filler.json new file mode 100644 index 000000000..8b659d75b --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/call_then_create2_successful_then_returndatasize_d0g0v0Filler.json @@ -0,0 +1,95 @@ +{ + "call_then_create2_successful_then_returndatasize_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0a00000000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507", + "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Byzantium", + "result" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + }, + "0x5355afe749918b112bf6385abc4525f74c7c6c60" : { + "code" : "0x0000000000000000000000000000000000000000000000000000000000112233" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x7d111122223333444455556666777788889999aaaabbbbccccddddeeeeffff60005260206000f3", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x60006000600060006000730aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6640900000000f1506000600c80603c60003960006000f5503d600055006211223360005260206000f3", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file -- cgit v1.2.3