aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stRevertTest/RevertOpcode.json
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2017-03-22 23:31:24 +0800
committerDimitry <dimitry@ethdev.com>2017-03-22 23:31:24 +0800
commit7c60c32a115e088acc2c79197e66b84c2cfda790 (patch)
treec4882f68387a175beade0fc6d0d27fcf77ea2c42 /GeneralStateTests/stRevertTest/RevertOpcode.json
parentb2c47a6c5bf786ede388b92c9e2c4be699bc4eb9 (diff)
downloadtangerine-tests-7c60c32a115e088acc2c79197e66b84c2cfda790.tar
tangerine-tests-7c60c32a115e088acc2c79197e66b84c2cfda790.tar.gz
tangerine-tests-7c60c32a115e088acc2c79197e66b84c2cfda790.tar.bz2
tangerine-tests-7c60c32a115e088acc2c79197e66b84c2cfda790.tar.lz
tangerine-tests-7c60c32a115e088acc2c79197e66b84c2cfda790.tar.xz
tangerine-tests-7c60c32a115e088acc2c79197e66b84c2cfda790.tar.zst
tangerine-tests-7c60c32a115e088acc2c79197e66b84c2cfda790.zip
revert opcode tests
Diffstat (limited to 'GeneralStateTests/stRevertTest/RevertOpcode.json')
-rw-r--r--GeneralStateTests/stRevertTest/RevertOpcode.json138
1 files changed, 130 insertions, 8 deletions
diff --git a/GeneralStateTests/stRevertTest/RevertOpcode.json b/GeneralStateTests/stRevertTest/RevertOpcode.json
index 658a477b2..80977eb7a 100644
--- a/GeneralStateTests/stRevertTest/RevertOpcode.json
+++ b/GeneralStateTests/stRevertTest/RevertOpcode.json
@@ -11,59 +11,179 @@
"post" : {
"EIP150" : [
{
- "hash" : "f40a0c0e5db25166d81ceb0f04d6cb7a47c93a92ab289e96a3b62fcb0fec0660",
+ "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 1
+ }
+ },
+ {
+ "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 1
+ }
}
],
"EIP158" : [
{
- "hash" : "f40a0c0e5db25166d81ceb0f04d6cb7a47c93a92ab289e96a3b62fcb0fec0660",
+ "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 1
+ }
+ },
+ {
+ "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 1
+ }
}
],
"Frontier" : [
{
- "hash" : "f40a0c0e5db25166d81ceb0f04d6cb7a47c93a92ab289e96a3b62fcb0fec0660",
+ "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7",
"indexes" : {
"data" : 0,
"gas" : 0,
+ "value" : 1
+ }
+ },
+ {
+ "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
"value" : 0
}
+ },
+ {
+ "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 1
+ }
}
],
"Homestead" : [
{
- "hash" : "f40a0c0e5db25166d81ceb0f04d6cb7a47c93a92ab289e96a3b62fcb0fec0660",
+ "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7",
"indexes" : {
"data" : 0,
"gas" : 0,
+ "value" : 1
+ }
+ },
+ {
+ "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
"value" : 0
}
+ },
+ {
+ "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 1
+ }
}
],
"Metropolis" : [
{
- "hash" : "8a487ba443f11366495e2f5656c3ac36a38300e29202da19dfbef5a9e9537b67",
+ "hash" : "94cc837a7eecd810063cc425e84e9467e74134c9a516d4df91f71f201fe77676",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "94cc837a7eecd810063cc425e84e9467e74134c9a516d4df91f71f201fe77676",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 1
+ }
+ },
+ {
+ "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 1
+ }
}
]
},
"pre" : {
"a000000000000000000000000000000000000000" : {
- "balance" : "0x01",
- "code" : "0x600160005560016000fd",
+ "balance" : "0x00",
+ "code" : "0x600160005560016000fd6011600155",
"nonce" : "0x00",
"storage" : {
}
@@ -81,13 +201,15 @@
""
],
"gasLimit" : [
- "800000"
+ "800000",
+ "30000"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "a000000000000000000000000000000000000000",
"value" : [
+ "0",
"10"
]
}