aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-01-09 14:28:06 +0800
committerDimitry <winsvega@mail.ru>2017-01-09 14:28:06 +0800
commitcaf6f955fdbde249f877e0e7d7ed0cf689d0035f (patch)
tree36c65b47c332db2aa8d1415629a6a15db750b6df
parent3bbfd218f807a872c82b0bc38c6b19276872d385 (diff)
downloadtangerine-tests-caf6f955fdbde249f877e0e7d7ed0cf689d0035f.tar
tangerine-tests-caf6f955fdbde249f877e0e7d7ed0cf689d0035f.tar.gz
tangerine-tests-caf6f955fdbde249f877e0e7d7ed0cf689d0035f.tar.bz2
tangerine-tests-caf6f955fdbde249f877e0e7d7ed0cf689d0035f.tar.lz
tangerine-tests-caf6f955fdbde249f877e0e7d7ed0cf689d0035f.tar.xz
tangerine-tests-caf6f955fdbde249f877e0e7d7ed0cf689d0035f.tar.zst
tangerine-tests-caf6f955fdbde249f877e0e7d7ed0cf689d0035f.zip
refil revert Tests
-rw-r--r--GeneralStateTests/stRevertTest/RevertDepth2.json (renamed from GeneralStateTests/stRevertTest/chfastRevertDepth2.json)2
-rw-r--r--GeneralStateTests/stRevertTest/RevertPrefound.json (renamed from GeneralStateTests/stRevertTest/chfastRevertPrefound.json)2
-rw-r--r--GeneralStateTests/stRevertTest/RevertPrefoundEmpty.json (renamed from GeneralStateTests/stRevertTest/chfastRevertPrefoundEmpty.json)2
-rw-r--r--GeneralStateTests/stRevertTest/RevertPrefoundEmptyOOG.json (renamed from GeneralStateTests/stRevertTest/chfastRevertPrefoundEmptyOOG.json)2
-rw-r--r--GeneralStateTests/stRevertTest/RevertPrefoundOOG.json (renamed from GeneralStateTests/stRevertTest/chfastRevertPrefoundOOG.json)2
-rw-r--r--GeneralStateTests/stRevertTest/RevertSubCallStorageOOG.json85
6 files changed, 90 insertions, 5 deletions
diff --git a/GeneralStateTests/stRevertTest/chfastRevertDepth2.json b/GeneralStateTests/stRevertTest/RevertDepth2.json
index 80211bc1e..c2ee2cff1 100644
--- a/GeneralStateTests/stRevertTest/chfastRevertDepth2.json
+++ b/GeneralStateTests/stRevertTest/RevertDepth2.json
@@ -1,5 +1,5 @@
{
- "chfastRevertDepth2" : {
+ "RevertDepth2" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x02b8feb0",
diff --git a/GeneralStateTests/stRevertTest/chfastRevertPrefound.json b/GeneralStateTests/stRevertTest/RevertPrefound.json
index 77bd65f7c..4dc021f06 100644
--- a/GeneralStateTests/stRevertTest/chfastRevertPrefound.json
+++ b/GeneralStateTests/stRevertTest/RevertPrefound.json
@@ -1,5 +1,5 @@
{
- "chfastRevertPrefound" : {
+ "RevertPrefound" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x02b8feb0",
diff --git a/GeneralStateTests/stRevertTest/chfastRevertPrefoundEmpty.json b/GeneralStateTests/stRevertTest/RevertPrefoundEmpty.json
index 54acd2343..b413be77f 100644
--- a/GeneralStateTests/stRevertTest/chfastRevertPrefoundEmpty.json
+++ b/GeneralStateTests/stRevertTest/RevertPrefoundEmpty.json
@@ -1,5 +1,5 @@
{
- "chfastRevertPrefoundEmpty" : {
+ "RevertPrefoundEmpty" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x02b8feb0",
diff --git a/GeneralStateTests/stRevertTest/chfastRevertPrefoundEmptyOOG.json b/GeneralStateTests/stRevertTest/RevertPrefoundEmptyOOG.json
index c31ad3bb0..cba2c8760 100644
--- a/GeneralStateTests/stRevertTest/chfastRevertPrefoundEmptyOOG.json
+++ b/GeneralStateTests/stRevertTest/RevertPrefoundEmptyOOG.json
@@ -1,5 +1,5 @@
{
- "chfastRevertPrefoundEmptyOOG" : {
+ "RevertPrefoundEmptyOOG" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x02b8feb0",
diff --git a/GeneralStateTests/stRevertTest/chfastRevertPrefoundOOG.json b/GeneralStateTests/stRevertTest/RevertPrefoundOOG.json
index e00d7326b..a57ed58a2 100644
--- a/GeneralStateTests/stRevertTest/chfastRevertPrefoundOOG.json
+++ b/GeneralStateTests/stRevertTest/RevertPrefoundOOG.json
@@ -1,5 +1,5 @@
{
- "chfastRevertPrefoundOOG" : {
+ "RevertPrefoundOOG" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x02b8feb0",
diff --git a/GeneralStateTests/stRevertTest/RevertSubCallStorageOOG.json b/GeneralStateTests/stRevertTest/RevertSubCallStorageOOG.json
new file mode 100644
index 000000000..355017e5d
--- /dev/null
+++ b/GeneralStateTests/stRevertTest/RevertSubCallStorageOOG.json
@@ -0,0 +1,85 @@
+{
+ "RevertSubCallStorageOOG" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x02b8feb0",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x28d138",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "8f688eeaf04ad9168a13bd416fe93a23310783dc12a2362446197cc0b99ede34",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "8f688eeaf04ad9168a13bd416fe93a23310783dc12a2362446197cc0b99ede34",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "8f688eeaf04ad9168a13bd416fe93a23310783dc12a2362446197cc0b99ede34",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "8f688eeaf04ad9168a13bd416fe93a23310783dc12a2362446197cc0b99ede34",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ]
+ },
+ "pre" : {
+ "a000000000000000000000000000000000000000" : {
+ "balance" : "0x01",
+ "code" : "0x60606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063b28175c4146046578063c0406226146052575b6000565b3460005760506076565b005b34600057605c6081565b604051808215151515815260200191505060405180910390f35b600c6000819055505b565b600060896076565b600d600181905550600e600281905550600190505b905600a165627a7a7230582090717cc95d17601245cda24500edc484cd0a2ee609184c3cca7515680312b43e0029",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0xc0406226"
+ ],
+ "gasLimit" : [
+ "81000"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "a000000000000000000000000000000000000000",
+ "value" : [
+ "1"
+ ]
+ }
+ }
+} \ No newline at end of file