aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-03-28 23:05:32 +0800
committerDimitry <dimitry@ethereum.org>2018-05-15 22:43:32 +0800
commit013aa117669dfe82b4ea289a7191fa6658da1334 (patch)
treeca6962bf51151ebd08d902444fffd2f42922d470 /GeneralStateTests
parent65184583143d1c31f0c360280bc247c952f25ae4 (diff)
downloaddexon-tests-013aa117669dfe82b4ea289a7191fa6658da1334.tar
dexon-tests-013aa117669dfe82b4ea289a7191fa6658da1334.tar.gz
dexon-tests-013aa117669dfe82b4ea289a7191fa6658da1334.tar.bz2
dexon-tests-013aa117669dfe82b4ea289a7191fa6658da1334.tar.lz
dexon-tests-013aa117669dfe82b4ea289a7191fa6658da1334.tar.xz
dexon-tests-013aa117669dfe82b4ea289a7191fa6658da1334.tar.zst
dexon-tests-013aa117669dfe82b4ea289a7191fa6658da1334.zip
fix more tests
touched coinbase should exist in the post state
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stRandom/randomStatetest123.json2
-rw-r--r--GeneralStateTests/stRandom/randomStatetest184.json77
-rw-r--r--GeneralStateTests/stRandom/randomStatetest347.json66
-rw-r--r--GeneralStateTests/stSystemOperationsTest/suicideCoinbase.json81
4 files changed, 130 insertions, 96 deletions
diff --git a/GeneralStateTests/stRandom/randomStatetest123.json b/GeneralStateTests/stRandom/randomStatetest123.json
index 421925f51..2b6d821dc 100644
--- a/GeneralStateTests/stRandom/randomStatetest123.json
+++ b/GeneralStateTests/stRandom/randomStatetest123.json
@@ -78,4 +78,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/GeneralStateTests/stRandom/randomStatetest184.json b/GeneralStateTests/stRandom/randomStatetest184.json
index b4077f3d2..3a5e9a933 100644
--- a/GeneralStateTests/stRandom/randomStatetest184.json
+++ b/GeneralStateTests/stRandom/randomStatetest184.json
@@ -2,10 +2,11 @@
"randomStatetest184" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.8fb57c56.Linux.g++",
+ "filling-rpc-server" : "eth/v1.3.0/Linux/g++/Interpreter/Debug/37f37291*/",
+ "filling-tool-version" : "retesteth-0.0.1+commit.86270701.Linux.g++",
"lllcversion" : "Version: 0.4.20-develop.2018.1.8+commit.2548228b.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stRandom/randomStatetest184Filler.json",
- "sourceHash" : "b575e529c16c5619c10d94507efcfacbd18b8d2157b7b97631f1a681c06f164a"
+ "sourceHash" : "2afeab426711b2a23bbbe3bca0c1f66e203df1cbcba4eb4c9000446c4d33cd4f"
},
"env" : {
"currentCoinbase" : "0x6d6e40885310545835a5b582dbc23ef026404bda",
@@ -15,30 +16,6 @@
"currentTimestamp" : "0x2710",
"previousHash" : "0xa8228e05d900b890136bcc55628b479e172795042a90e18b673189b5f3a672fc"
},
- "post" : {
- "Byzantium" : [
- {
- "hash" : "0xf95be1e4c7788641348454fd9ff7b21956f61a979e8d7f8e55cec444c5931e8c",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- }
- ],
- "Homestead" : [
- {
- "hash" : "0xf95be1e4c7788641348454fd9ff7b21956f61a979e8d7f8e55cec444c5931e8c",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- }
- ]
- },
"pre" : {
"0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x070a217c02c8f2d4",
@@ -49,14 +26,14 @@
},
"0x945304eb96065b2a98b57a48a06ae28d285a71b5" : {
"balance" : "0x9740421ff0ff3ae3",
- "code" : "",
+ "code" : "0x",
"nonce" : "0x1d",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xc1142f2b8e8eb058",
- "code" : "",
+ "code" : "0x",
"nonce" : "0x00",
"storage" : {
}
@@ -76,6 +53,50 @@
"value" : [
"0x6d1dd024"
]
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "hash" : "0xf95be1e4c7788641348454fd9ff7b21956f61a979e8d7f8e55cec444c5931e8c",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Constantinople" : [
+ {
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "hash" : "0xf95be1e4c7788641348454fd9ff7b21956f61a979e8d7f8e55cec444c5931e8c",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Homestead" : [
+ {
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "hash" : "0xeaf41ca90b95589f28853c7679b1207a73d7cf360d939cef2dcc467a8ea17d36",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "hash" : "0xeaf41ca90b95589f28853c7679b1207a73d7cf360d939cef2dcc467a8ea17d36",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
}
}
} \ No newline at end of file
diff --git a/GeneralStateTests/stRandom/randomStatetest347.json b/GeneralStateTests/stRandom/randomStatetest347.json
index e29d61d99..e0fa0332e 100644
--- a/GeneralStateTests/stRandom/randomStatetest347.json
+++ b/GeneralStateTests/stRandom/randomStatetest347.json
@@ -2,10 +2,11 @@
"randomStatetest347" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.8fb57c56.Linux.g++",
+ "filling-rpc-server" : "eth/v1.3.0/Linux/g++/Interpreter/Debug/37f37291*/",
+ "filling-tool-version" : "retesteth-0.0.1+commit.86270701.Linux.g++",
"lllcversion" : "Version: 0.4.20-develop.2018.1.8+commit.2548228b.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stRandom/randomStatetest347Filler.json",
- "sourceHash" : "ef9ee35d1e5369232e28162fc007d6184a54db2b1399bc4a665cb056ab05194a"
+ "sourceHash" : "ef52d8bcfbac2ac4e41668d4bae84e0ff0880f6619abf89de98658a1df13d8d4"
},
"env" : {
"currentCoinbase" : "0xa7f7c8ef9bbbcfb0f7e81c1fd46bb732fba60592",
@@ -15,30 +16,6 @@
"currentTimestamp" : "0x03e8",
"previousHash" : "0xf3907ec3d962d22b61d2618054c8252a7fe67b65f652a7b8fcc55cfe905a1caa"
},
- "post" : {
- "Byzantium" : [
- {
- "hash" : "0x5a9d4e3d21fb0dee07e0b52772b46dff8b513f0d4fba4765c43096a97e8b088f",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- }
- ],
- "Homestead" : [
- {
- "hash" : "0x5a9d4e3d21fb0dee07e0b52772b46dff8b513f0d4fba4765c43096a97e8b088f",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- }
- ]
- },
"pre" : {
"0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x33498455",
@@ -56,7 +33,7 @@
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x24d289465fa51769",
- "code" : "",
+ "code" : "0x",
"nonce" : "0x00",
"storage" : {
}
@@ -76,6 +53,41 @@
"value" : [
"0x7f3e3a6ac8834e68"
]
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "hash" : "0x5a9d4e3d21fb0dee07e0b52772b46dff8b513f0d4fba4765c43096a97e8b088f",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Constantinople" : [
+ {
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "hash" : "0x5a9d4e3d21fb0dee07e0b52772b46dff8b513f0d4fba4765c43096a97e8b088f",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Homestead" : [
+ {
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "hash" : "0x26b67b77846643793fda1abbebeac8f093bd83d646c266cdcb10ec11b7f430e0",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
}
}
} \ No newline at end of file
diff --git a/GeneralStateTests/stSystemOperationsTest/suicideCoinbase.json b/GeneralStateTests/stSystemOperationsTest/suicideCoinbase.json
index 1220bbef4..89c4df0e1 100644
--- a/GeneralStateTests/stSystemOperationsTest/suicideCoinbase.json
+++ b/GeneralStateTests/stSystemOperationsTest/suicideCoinbase.json
@@ -2,10 +2,11 @@
"suicideCoinbase" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.ee0c6776.Linux.g++",
- "lllcversion" : "Version: 0.4.20-develop.2018.2.4+commit.c696803f.Linux.g++",
+ "filling-rpc-server" : "eth/v1.3.0/Linux/g++/Interpreter/Debug/37f37291*/",
+ "filling-tool-version" : "retesteth-0.0.1+commit.86270701.Linux.g++",
+ "lllcversion" : "Version: 0.4.20-develop.2018.1.8+commit.2548228b.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stSystemOperationsTest/suicideCoinbaseFiller.json",
- "sourceHash" : "4d7b2713137b0cac5c4a98483d2b0274e669c91af2ff508567fec044d77f9d03"
+ "sourceHash" : "8771c7fabbed8da32a2e456f84be27a650196fe77ea49eecc8f7d723e2abe2c2"
},
"env" : {
"currentCoinbase" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
@@ -15,93 +16,93 @@
"currentTimestamp" : "0x03e8",
"previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
+ "pre" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x73a94f5374fce5edbc8e2a8697c15331677e6ebf0bff",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "0x0f4240"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : [
+ "0x0186a0"
+ ]
+ },
"post" : {
"Byzantium" : [
{
- "hash" : "0x6f0998481c651b0b5fe26d002bfd4b3759de8aafa7273b0f458ec594ffb39c51",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
+ "hash" : "0x6f0998481c651b0b5fe26d002bfd4b3759de8aafa7273b0f458ec594ffb39c51",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
- "EIP150" : [
+ "Constantinople" : [
{
- "hash" : "0x6f0998481c651b0b5fe26d002bfd4b3759de8aafa7273b0f458ec594ffb39c51",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
+ "hash" : "0x6f0998481c651b0b5fe26d002bfd4b3759de8aafa7273b0f458ec594ffb39c51",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"EIP158" : [
{
- "hash" : "0x6f0998481c651b0b5fe26d002bfd4b3759de8aafa7273b0f458ec594ffb39c51",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
+ "hash" : "0x6f0998481c651b0b5fe26d002bfd4b3759de8aafa7273b0f458ec594ffb39c51",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Frontier" : [
{
- "hash" : "0xd250e0dc5c48a99a23e6a7fbca13303df995c2f8a049aef6fc3afa0e34df4ed4",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
+ "hash" : "0xdfcfa45a38ccf8f8ad55c0b47a85832dbbe77df48bc34bac4e78f77415970f35",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Homestead" : [
{
- "hash" : "0xd250e0dc5c48a99a23e6a7fbca13303df995c2f8a049aef6fc3afa0e34df4ed4",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
+ "hash" : "0xdfcfa45a38ccf8f8ad55c0b47a85832dbbe77df48bc34bac4e78f77415970f35",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
- },
- "pre" : {
- "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "0x0de0b6b3a7640000",
- "code" : "0x73a94f5374fce5edbc8e2a8697c15331677e6ebf0bff",
- "nonce" : "0x00",
- "storage" : {
- }
- },
- "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0de0b6b3a7640000",
- "code" : "",
- "nonce" : "0x00",
- "storage" : {
- }
- }
- },
- "transaction" : {
- "data" : [
- "0x"
- ],
- "gasLimit" : [
- "0x0f4240"
- ],
- "gasPrice" : "0x01",
- "nonce" : "0x00",
- "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : [
- "0x0186a0"
- ]
}
}
} \ No newline at end of file