diff options
author | Dimitry <dimitry@ethereum.org> | 2018-09-04 18:57:15 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-09-04 18:57:15 +0800 |
commit | 22558f3be8542021415ba94b9474618f6efc09a1 (patch) | |
tree | af0031317bc0132f72e4c05ae256ae8c0f0b305c /GeneralStateTests/stCreate2 | |
parent | 9679eb690a57692df82d2851d53cf41796a3b672 (diff) | |
download | tangerine-tests-22558f3be8542021415ba94b9474618f6efc09a1.tar tangerine-tests-22558f3be8542021415ba94b9474618f6efc09a1.tar.gz tangerine-tests-22558f3be8542021415ba94b9474618f6efc09a1.tar.bz2 tangerine-tests-22558f3be8542021415ba94b9474618f6efc09a1.tar.lz tangerine-tests-22558f3be8542021415ba94b9474618f6efc09a1.tar.xz tangerine-tests-22558f3be8542021415ba94b9474618f6efc09a1.tar.zst tangerine-tests-22558f3be8542021415ba94b9474618f6efc09a1.zip |
create2 bounds + yoichi tests
Diffstat (limited to 'GeneralStateTests/stCreate2')
5 files changed, 393 insertions, 0 deletions
diff --git a/GeneralStateTests/stCreate2/CREATE2_Bounds.json b/GeneralStateTests/stCreate2/CREATE2_Bounds.json new file mode 100644 index 000000000..09985aa9d --- /dev/null +++ b/GeneralStateTests/stCreate2/CREATE2_Bounds.json @@ -0,0 +1,73 @@ +{ + "CREATE2_Bounds" : { + "_info" : { + "comment" : "", + "filledwith" : "testeth 1.5.0.dev2+commit.64fca38d.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/CREATE2_BoundsFiller.json", + "sourceHash" : "ed0e5020bf970dd4e242f44d17c0f82af2e0daa23a56e5b4980c66e742b60022" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x7fffffffffffffff", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0x8b4cc12901f1be60268921d63d01e2e8e3d3b1dab070b9c39cca43aecbb3033e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x7287b1294e0436cb824b9a792e09a064a38196e68b8cc95a9302ad03ad908523", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64", + "code" : "0x7f6001600155601080600c6000396000f3006000355415600957005b6020356000600052603560205360556021536000600060006001f5506000630fffffff60006001f5", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0fffffffffffffffffffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x0249f0", + "0x0ee6b280" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000000", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/CREATE2_Bounds2.json b/GeneralStateTests/stCreate2/CREATE2_Bounds2.json new file mode 100644 index 000000000..b6fc113c6 --- /dev/null +++ b/GeneralStateTests/stCreate2/CREATE2_Bounds2.json @@ -0,0 +1,73 @@ +{ + "CREATE2_Bounds2" : { + "_info" : { + "comment" : "", + "filledwith" : "testeth 1.5.0.dev2+commit.64fca38d.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/CREATE2_Bounds2Filler.json", + "sourceHash" : "5d39777ced4803bac5e1b7cfcfb71fa210e95c5b2d6b1da1390e8a7f868cc862" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x7fffffffffffffff", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0x6b7783da978f9899e09e3213f9ae5db1cf42efbc670a3dbd4fe7336de5504aff", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x40be1f2fac47965dd43757a1f5e5d6779cf021fce19930d41460786705bddd65", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64", + "code" : "0x7f6001600155601080600c6000396000f3006000355415600957005b602035600060005260356020536055602153600063ffffffff60006001f5", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0fffffffffffffffffffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x0249f0", + "0x0ee6b280" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000000", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/CREATE2_Bounds3.json b/GeneralStateTests/stCreate2/CREATE2_Bounds3.json new file mode 100644 index 000000000..e01edf41f --- /dev/null +++ b/GeneralStateTests/stCreate2/CREATE2_Bounds3.json @@ -0,0 +1,83 @@ +{ + "CREATE2_Bounds3" : { + "_info" : { + "comment" : "", + "filledwith" : "testeth 1.5.0.dev2+commit.64fca38d.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/CREATE2_Bounds3Filler.json", + "sourceHash" : "c72e7baee5cf31160df5813d46c250b3c68fa663f27353e3829a4cb2cad0da53" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x7fffffffffffffff", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0xcdb18946928ef8d8672d47ffd3bfd306c65420c6e73fef39fc45c6bc7f8feaeb", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x014758a16b33d75bbba6bec13c2c6936826ffdd1be68e71c772916911a19ba77", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x0e23d24a9f55e6f682e800ea2f96a71311ef933917604fbbc28a946fabdeb900", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x64", + "code" : "0x7f6001600155601080600c6000396000f3006000355415600957005b602035600060005260356020536055602153600067ffffffffffffffff60006001f55060006fffffffffffffffffffffffffffffffff60006001f55060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60006001f55060006000630fffffff6001f5506000600063ffffffff6001f5506000600067ffffffffffffffff6001f550600060006fffffffffffffffffffffffffffffffff6001f550600060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001f5506000630fffffff630fffffff6001f550600063ffffffff63ffffffff6001f550600067ffffffffffffffff67ffffffffffffffff6001f55060006fffffffffffffffffffffffffffffffff6fffffffffffffffffffffffffffffffff6001f55060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001f5", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0fffffffffffffffffffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x0249f0", + "0x0f4240", + "0x0ee6b280" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000000", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/call_outsize_then_create2_successful_then_returndatasize.json b/GeneralStateTests/stCreate2/call_outsize_then_create2_successful_then_returndatasize.json new file mode 100644 index 000000000..fb8a0d3e6 --- /dev/null +++ b/GeneralStateTests/stCreate2/call_outsize_then_create2_successful_then_returndatasize.json @@ -0,0 +1,82 @@ +{ + "call_outsize_then_create2_successful_then_returndatasize" : { + "_info" : { + "comment" : "", + "filledwith" : "testeth 1.5.0.dev2+commit.64fca38d.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/call_outsize_then_create2_successful_then_returndatasizeFiller.json", + "sourceHash" : "4584f8f3ba9362e1e2d398c31e99accf54eb8a219564647a5bcbaff69ffc63d9" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x5ad2fa107ef0d0a375990755e65d618f0039d71f33d2ad9678c1069eed77c852", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0x6469158cae8d14887eaa2adbbd85ab373cbaf7b2acfedeba674ec65e47b17f69", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "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" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/call_then_create2_successful_then_returndatasize.json b/GeneralStateTests/stCreate2/call_then_create2_successful_then_returndatasize.json new file mode 100644 index 000000000..3db0d1893 --- /dev/null +++ b/GeneralStateTests/stCreate2/call_then_create2_successful_then_returndatasize.json @@ -0,0 +1,82 @@ +{ + "call_then_create2_successful_then_returndatasize" : { + "_info" : { + "comment" : "", + "filledwith" : "testeth 1.5.0.dev2+commit.64fca38d.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/call_then_create2_successful_then_returndatasizeFiller.json", + "sourceHash" : "3a9f8af213aedd00f6d937fa52410cc2dd8f5b03fa6a3f115f7ca5d4dccd9abd" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0xf182d0229c1d78ea7d7d717a3e3d5cc67763e4512107a6c6287ef16f10519c42", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0x8ad3a1c72c5e024b3fa690d7562db02e412242210573264e40e881a47dc620dc", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "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" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file |