aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_ContractRETURNBigOffset.json238
-rw-r--r--src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.json44
2 files changed, 282 insertions, 0 deletions
diff --git a/GeneralStateTests/stCreateTest/CREATE_ContractRETURNBigOffset.json b/GeneralStateTests/stCreateTest/CREATE_ContractRETURNBigOffset.json
new file mode 100644
index 000000000..5899d13ec
--- /dev/null
+++ b/GeneralStateTests/stCreateTest/CREATE_ContractRETURNBigOffset.json
@@ -0,0 +1,238 @@
+{
+ "CREATE_ContractRETURNBigOffset" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.66dcbcec.Linux.g++",
+ "lllcversion" : "Version: 0.4.20-develop.2017.12.3+commit.4cad0b22.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.json",
+ "sourceHash" : "0e463a63f523bc42a4637f18919f058e5f66c4fa8747493bb947c7a1a44a3107"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x05500000",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "hash" : "0xced4c058d2625d77bb5a0ae539c113ed83ed944e94df03b23bb0f9711a46bcd3",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xced4c058d2625d77bb5a0ae539c113ed83ed944e94df03b23bb0f9711a46bcd3",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xced4c058d2625d77bb5a0ae539c113ed83ed944e94df03b23bb0f9711a46bcd3",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xced4c058d2625d77bb5a0ae539c113ed83ed944e94df03b23bb0f9711a46bcd3",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP150" : [
+ {
+ "hash" : "0xfc9d23a307622b842c91b702280285ff5a81d7268f30d91dca4c9ad3a26a6817",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x5a148cc8d09f702e8f340c17544f0469a51dea69c6686fde0cb226ac7c9b4a17",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xf66250dab43dbdb4a1f1dd8f88ba3187119b864b03b51d47af63b06da311b693",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xced4c058d2625d77bb5a0ae539c113ed83ed944e94df03b23bb0f9711a46bcd3",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0xced4c058d2625d77bb5a0ae539c113ed83ed944e94df03b23bb0f9711a46bcd3",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xced4c058d2625d77bb5a0ae539c113ed83ed944e94df03b23bb0f9711a46bcd3",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xced4c058d2625d77bb5a0ae539c113ed83ed944e94df03b23bb0f9711a46bcd3",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xced4c058d2625d77bb5a0ae539c113ed83ed944e94df03b23bb0f9711a46bcd3",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0xc8528447ff522cee217cc485c3eddd224c6cd67941110a06ed6ab414aebb65bd",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xa43b1e1e3293bcd8c8b77635612dd402ff992aad16964294e586cfdfbb769ee9",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x0240d31611cdd1f3a056b6be43a5cb5f404dc9f874d823756a6c1305cba3c9af",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x2b5a538db83b35434a291d508b24961a5758ee8df3ad64c95d5620e097a0ece6",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0xfc9d23a307622b842c91b702280285ff5a81d7268f30d91dca4c9ad3a26a6817",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x5a148cc8d09f702e8f340c17544f0469a51dea69c6686fde0cb226ac7c9b4a17",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xf66250dab43dbdb4a1f1dd8f88ba3187119b864b03b51d47af63b06da311b693",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xced4c058d2625d77bb5a0ae539c113ed83ed944e94df03b23bb0f9711a46bcd3",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x174876e800",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x6201000062074ac2f3",
+ "0x62051eb862074ac2f3",
+ "0x62051eb962074ac2f3",
+ "0x620d15bc62074ac2f3"
+ ],
+ "gasLimit" : [
+ "0x5000001"
+ ],
+ "gasPrice" : "0x02",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : [
+ "0x00"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.json
new file mode 100644
index 000000000..08b0e0b00
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.json
@@ -0,0 +1,44 @@
+{
+ "CREATE_ContractRETURNBigOffset" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "89128960",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "100000000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "//data" : "{ (RETURN 0x074ac2 0x0d15bc) }",
+ "//data" : "{ (RETURN 0x074ac2 0x010000) }",
+ "//data" : "{ (RETURN 0x074ac2 0x051eb9) }",
+ "//data" : "{ (RETURN 0x074ac2 0x051eb8) }",
+ "data" : [
+ "0x6201000062074ac2f3",
+ "0x62051eb862074ac2f3",
+ "0x62051eb962074ac2f3",
+ "0x620d15bc62074ac2f3"
+ ],
+ "gasLimit" : [
+ "0x5000001"
+ ],
+ "gasPrice" : "0x02",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+}