aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stCreate2
diff options
context:
space:
mode:
authorwinsvega <winsvega@mail.ru>2018-09-11 23:59:19 +0800
committerGitHub <noreply@github.com>2018-09-11 23:59:19 +0800
commitf2d644f39d395f66c8d403e09e87735aabc48434 (patch)
tree742a38702b55cc3fa5cea8c8e4c279a205d35eac /GeneralStateTests/stCreate2
parente910196c89d6346af23397be083023c74d9bd856 (diff)
parentd1b7f959bfc8c6c77baef11a4e14a50c558a37a9 (diff)
downloaddexon-tests-f2d644f39d395f66c8d403e09e87735aabc48434.tar
dexon-tests-f2d644f39d395f66c8d403e09e87735aabc48434.tar.gz
dexon-tests-f2d644f39d395f66c8d403e09e87735aabc48434.tar.bz2
dexon-tests-f2d644f39d395f66c8d403e09e87735aabc48434.tar.lz
dexon-tests-f2d644f39d395f66c8d403e09e87735aabc48434.tar.xz
dexon-tests-f2d644f39d395f66c8d403e09e87735aabc48434.tar.zst
dexon-tests-f2d644f39d395f66c8d403e09e87735aabc48434.zip
Merge pull request #505 from ethereum/create2
Create2
Diffstat (limited to 'GeneralStateTests/stCreate2')
-rw-r--r--GeneralStateTests/stCreate2/RevertDepthCreate2OOG.json136
-rw-r--r--GeneralStateTests/stCreate2/returndatacopy_following_revert_in_create.json64
-rw-r--r--GeneralStateTests/stCreate2/returndatacopy_following_successful_create.json64
-rw-r--r--GeneralStateTests/stCreate2/returndatasize_following_successful_create.json64
4 files changed, 328 insertions, 0 deletions
diff --git a/GeneralStateTests/stCreate2/RevertDepthCreate2OOG.json b/GeneralStateTests/stCreate2/RevertDepthCreate2OOG.json
new file mode 100644
index 000000000..308134184
--- /dev/null
+++ b/GeneralStateTests/stCreate2/RevertDepthCreate2OOG.json
@@ -0,0 +1,136 @@
+{
+ "RevertDepthCreate2OOG" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty",
+ "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stCreate2/RevertDepthCreate2OOGFiller.json",
+ "sourceHash" : "cfa4931a34c3ccf3c6757a455279012f4f8c0f4c8eed16ebb27423094d3c6c35"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x549e678b5e711bac539688d07a68f2e0f38338ae1b5c9d2c2e7e3a0b5ca68b6b",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x549e678b5e711bac539688d07a68f2e0f38338ae1b5c9d2c2e7e3a0b5ca68b6b",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 1
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x367bae0ce3da602e604ae862878cce814864de33a75ebefd05ca4836fd963899",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x61df597a0e2d1331c41c6b11266922d5452ff956d8945283d46cdb89a3779c5b",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 1
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x549e678b5e711bac539688d07a68f2e0f38338ae1b5c9d2c2e7e3a0b5ca68b6b",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x549e678b5e711bac539688d07a68f2e0f38338ae1b5c9d2c2e7e3a0b5ca68b6b",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 1
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x3c0e2e85e442994e6763e48441833132b1660e3f55fb433ea28e1298174157f9",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x69243733370c074a4be3401bbcb156cb173ea4f99a5017ae6878edb888ce9adb",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 1,
+ "value" : 1
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0xa000000000000000000000000000000000000000" : {
+ "balance" : "0x05",
+ "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455",
+ "nonce" : "0x36",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60086002556000600060006000f550600c600355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x000000000000000000000000000000000000000000000000000000000000ea60",
+ "0x000000000000000000000000000000000000000000000000000000000001ea60"
+ ],
+ "gasLimit" : [
+ "0x01adb0",
+ "0x027100"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xa000000000000000000000000000000000000000",
+ "value" : [
+ "0x01",
+ "0x00"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stCreate2/returndatacopy_following_revert_in_create.json b/GeneralStateTests/stCreate2/returndatacopy_following_revert_in_create.json
new file mode 100644
index 000000000..002952375
--- /dev/null
+++ b/GeneralStateTests/stCreate2/returndatacopy_following_revert_in_create.json
@@ -0,0 +1,64 @@
+{
+ "returndatacopy_following_revert_in_create" : {
+ "_info" : {
+ "comment" : "returndatacopy_following_revert_in_create for CREATE2",
+ "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty",
+ "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stCreate2/returndatacopy_following_revert_in_createFiller.json",
+ "sourceHash" : "c6e3fd38c3168af26da8b0286a31a20d2e1b5b7820986a13543db7f8d73656b7"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x0a00000000",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x29779d5452719b228da9690d72acd57cd8f052a4a351d9b680ea5d3b174f0fb7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x6000602780601e60003960006000f5506020600060003e600051600055007d111122223333444455556666777788889999aaaabbbbccccddddeeeeffff60005260206000fd",
+ "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/returndatacopy_following_successful_create.json b/GeneralStateTests/stCreate2/returndatacopy_following_successful_create.json
new file mode 100644
index 000000000..9c12a60bb
--- /dev/null
+++ b/GeneralStateTests/stCreate2/returndatacopy_following_successful_create.json
@@ -0,0 +1,64 @@
+{
+ "returndatacopy_following_successful_create" : {
+ "_info" : {
+ "comment" : "returndatacopy_following_successful_create for CREATE2",
+ "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty",
+ "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stCreate2/returndatacopy_following_successful_createFiller.json",
+ "sourceHash" : "72d31f136ac1e11fabb67187bb5aa590b50cb7100acf10ff31961542a55a0701"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x0a00000000",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x639b12c9e249fd0d8fb083f4125a0da2133e0c1ce40ade916e81af76440a71ff",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x6000600180601e60003960006000f5506020600160003e6000516000550000",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x02"
+ }
+ },
+ "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/returndatasize_following_successful_create.json b/GeneralStateTests/stCreate2/returndatasize_following_successful_create.json
new file mode 100644
index 000000000..036393c27
--- /dev/null
+++ b/GeneralStateTests/stCreate2/returndatasize_following_successful_create.json
@@ -0,0 +1,64 @@
+{
+ "returndatasize_following_successful_create" : {
+ "_info" : {
+ "comment" : "returndatasize_following_successful_create for create2",
+ "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty",
+ "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stCreate2/returndatasize_following_successful_createFiller.json",
+ "sourceHash" : "623c62cb437b9c6e10a36a08a6319006996ae22af6eee6e468c3f68811a0d9ec"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x0a00000000",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x3eba96650057443b3d10c98c07a5a76cdd9473c9f3deac436945bb4babe5a657",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x6000600c80601560003960006000f5503d600055006211223360005260206000f3",
+ "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