aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorAdrian Sutton <adrian.sutton@consensys.net>2018-11-13 06:52:19 +0800
committerAdrian Sutton <adrian.sutton@consensys.net>2018-11-13 06:52:19 +0800
commit87352f2c2fb4522381d5d7e4bd10d9184314bade (patch)
treeb0f157bb9369624431f483acf056d90c3adf1254 /GeneralStateTests
parent6a3f10e004d1586d592e71429c17cd73160a6062 (diff)
downloaddexon-tests-87352f2c2fb4522381d5d7e4bd10d9184314bade.tar.gz
dexon-tests-87352f2c2fb4522381d5d7e4bd10d9184314bade.tar.zst
dexon-tests-87352f2c2fb4522381d5d7e4bd10d9184314bade.zip
Add more dynamic argument test cases to cover non-existent accounts, precompiles (existing and non-existing) and empty accounts.
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stExtCodeHash/extCodeHashDynamicArgument.json67
1 files changed, 33 insertions, 34 deletions
diff --git a/GeneralStateTests/stExtCodeHash/extCodeHashDynamicArgument.json b/GeneralStateTests/stExtCodeHash/extCodeHashDynamicArgument.json
index 3e1db65d5..31f3da013 100644
--- a/GeneralStateTests/stExtCodeHash/extCodeHashDynamicArgument.json
+++ b/GeneralStateTests/stExtCodeHash/extCodeHashDynamicArgument.json
@@ -5,7 +5,7 @@
"filledwith" : "testeth 1.5.0-alpha.6-1+commit.19ad7d95.dirty",
"lllcversion" : "Version: 0.5.0-develop.2018.9.29+commit.c4b5101b.Darwin.appleclang",
"source" : "src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashDynamicArgumentFiller.json",
- "sourceHash" : "e2709b0f48dd2fe2d301ab2ec8be79e17c9670070d313fe974bcd0ecdd711c70"
+ "sourceHash" : "a5964baf916ec15a0e3ffa1493619be6f63353ce13c1009d7eb4125ed55f4501"
},
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -16,66 +16,47 @@
"previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
- "Byzantium" : [
- {
- "hash" : "0x2ffec9d4b7c1064dc9e9180bdcfe021b7f59cd0fee6c00767146407121f118e0",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- }
- ],
"Constantinople" : [
{
- "hash" : "0xa62cbeb822ef70fd8572382d509fa76186025e04643a288121f40294f377f504",
+ "hash" : "0x2ceab025ea1bcf156d3b82dcd37082bbd7550c50933057550a55a7dce4c06df0",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- }
- ],
- "EIP150" : [
+ },
{
- "hash" : "0x2ffec9d4b7c1064dc9e9180bdcfe021b7f59cd0fee6c00767146407121f118e0",
+ "hash" : "0xb0878015195f42a2ad9d9cda16d17dbde5d829f67fe0652584b033536812d461",
"indexes" : {
- "data" : 0,
+ "data" : 1,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- }
- ],
- "EIP158" : [
+ },
{
- "hash" : "0x2ffec9d4b7c1064dc9e9180bdcfe021b7f59cd0fee6c00767146407121f118e0",
+ "hash" : "0x83d0fe0139e0eede930502f5e71ff83850d01487bd5507facac250cf71ee1a55",
"indexes" : {
- "data" : 0,
+ "data" : 2,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- }
- ],
- "Frontier" : [
+ },
{
- "hash" : "0x2ffec9d4b7c1064dc9e9180bdcfe021b7f59cd0fee6c00767146407121f118e0",
+ "hash" : "0x12770950f6dfcf23bd78a684e8389f6dbdabc4944a98b044f9e4b34e22b2cf4d",
"indexes" : {
- "data" : 0,
+ "data" : 3,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- }
- ],
- "Homestead" : [
+ },
{
- "hash" : "0x2ffec9d4b7c1064dc9e9180bdcfe021b7f59cd0fee6c00767146407121f118e0",
+ "hash" : "0x31ff8223ef2320fc851caa4ee45137b1cf8f0b1a516ea4d05c650aeec4abf4b8",
"indexes" : {
- "data" : 0,
+ "data" : 4,
"gas" : 0,
"value" : 0
},
@@ -84,6 +65,13 @@
]
},
"pre" : {
+ "0x0000000000000000000000000000000000000002" : {
+ "balance" : "0x0a",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "",
@@ -105,11 +93,22 @@
"nonce" : "0x00",
"storage" : {
}
+ },
+ "0xdeadbeef00000000000000000000000000000002" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
}
},
"transaction" : {
"data" : [
- "0x000000000000000000000000deadbeef00000000000000000000000000000001"
+ "0x0000000000000000000000000000000000000000000000000000000000000001",
+ "0x0000000000000000000000000000000000000000000000000000000000000002",
+ "0x000000000000000000000000deadbeef00000000000000000000000000000001",
+ "0x000000000000000000000000deadbeef00000000000000000000000000000002",
+ "0x000000000000000000000000deadbeef00000000000000000000000000000005"
],
"gasLimit" : [
"0x061a80"