aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-09-11 22:32:30 +0800
committerDimitry <dimitry@ethereum.org>2018-09-11 22:32:30 +0800
commitc6b3a18342ff26849ebd4a42231daef7482de0f9 (patch)
tree9e81a52fde9636969dfa6372a556b53648e8d2c6 /GeneralStateTests
parente910196c89d6346af23397be083023c74d9bd856 (diff)
downloaddexon-tests-c6b3a18342ff26849ebd4a42231daef7482de0f9.tar.gz
dexon-tests-c6b3a18342ff26849ebd4a42231daef7482de0f9.tar.zst
dexon-tests-c6b3a18342ff26849ebd4a42231daef7482de0f9.zip
returndatacopy after create2 tests
Diffstat (limited to 'GeneralStateTests')
-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
3 files changed, 192 insertions, 0 deletions
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