aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-03-29 09:08:47 +0800
committerDimitry <dimitry@ethereum.org>2018-05-15 22:43:32 +0800
commit621ad11abda01fb2dbc22e793fc1acc84659ff93 (patch)
treeaeb7b7472b9bf67bcf19bb94858e45c5bce16cd3 /src
parent346e829c149c5e4fcc46e465453e53e67ffe6b16 (diff)
downloaddexon-tests-621ad11abda01fb2dbc22e793fc1acc84659ff93.tar.gz
dexon-tests-621ad11abda01fb2dbc22e793fc1acc84659ff93.tar.zst
dexon-tests-621ad11abda01fb2dbc22e793fc1acc84659ff93.zip
fix more tests with coinbase touch
Diffstat (limited to 'src')
-rw-r--r--src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInInitFiller.json24
-rw-r--r--src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeWithBigOutputInInitFiller.json26
-rw-r--r--src/GeneralStateTestsFiller/stZeroKnowledge2/ecmul_0-3_5616_28000_96Filler.json9
3 files changed, 50 insertions, 9 deletions
diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInInitFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInInitFiller.json
index 083e3ae4f..d759f0974 100644
--- a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInInitFiller.json
+++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInInitFiller.json
@@ -47,13 +47,35 @@
"gas" : 1,
"value" : -1
},
- "network" : ["Homestead", "EIP158", "EIP150"],
+ "network" : ["EIP158"],
"result" : {
"6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
"shouldnotexist" : "1"
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 1,
+ "value" : -1
+ },
+ "network" : ["Homestead", "EIP150"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "shouldnotexist" : "1"
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0"
}
}
},
diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeWithBigOutputInInitFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeWithBigOutputInInitFiller.json
index 58fc63354..049b91b11 100644
--- a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeWithBigOutputInInitFiller.json
+++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeWithBigOutputInInitFiller.json
@@ -50,14 +50,36 @@
"gas" : 1,
"value" : -1
},
- "network" : ["Homestead", "EIP158", "EIP150"],
+ "network" : ["EIP158"],
"result" : {
"6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
"shouldnotexist" : "1"
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "0"
- }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 1,
+ "value" : -1
+ },
+ "network" : ["Homestead", "EIP150"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "shouldnotexist" : "1"
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0"
+ }
}
},
{
diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge2/ecmul_0-3_5616_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge2/ecmul_0-3_5616_28000_96Filler.json
index 269a6e178..85b76416b 100644
--- a/src/GeneralStateTestsFiller/stZeroKnowledge2/ecmul_0-3_5616_28000_96Filler.json
+++ b/src/GeneralStateTestsFiller/stZeroKnowledge2/ecmul_0-3_5616_28000_96Filler.json
@@ -248,11 +248,6 @@
"balance": "1000000000000000000",
"code": "0x"
},
- "3535353535353535353535353535353535353535": {
- "storage": {},
- "nonce": "0",
- "code": "0x"
- },
"0000000000000000000000000000000000000002": {
"storage": {},
"nonce": "0",
@@ -280,6 +275,8 @@
}
}
],
- "explanation": "Puts the point (0, 3) and the factor 21888242871839275222246405745257275088548364400416034343698204186575808495616 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes"
+ "_info": {
+ "comment" : "Puts the point (0, 3) and the factor 21888242871839275222246405745257275088548364400416034343698204186575808495616 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes"
+ }
}
}