aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrei Maiboroda <andrei@ethereum.org>2017-03-22 01:27:22 +0800
committerAndrei Maiboroda <andrei@ethereum.org>2017-03-22 01:33:56 +0800
commit39f05c6aaceb8e64798a8209ddf862e63e38b32c (patch)
treede72cd9244817bf578a905e1e294b1bf316b3bec /src
parent0605a59d1d93fb07b60dd5be6ef32c564ebf3abc (diff)
downloaddexon-tests-39f05c6aaceb8e64798a8209ddf862e63e38b32c.tar.gz
dexon-tests-39f05c6aaceb8e64798a8209ddf862e63e38b32c.tar.zst
dexon-tests-39f05c6aaceb8e64798a8209ddf862e63e38b32c.zip
Failing test for REVERT opcode (temporary, to check if travis gets the rigght branch)
Diffstat (limited to 'src')
-rw-r--r--src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFailFiller.json64
1 files changed, 64 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFailFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFailFiller.json
new file mode 100644
index 000000000..c5e604350
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFailFiller.json
@@ -0,0 +1,64 @@
+{
+ "RevertOpcodeFail" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "0"
+ },
+ "a000000000000000000000000000000000000000" : {
+ "storage" : {
+ }
+ }
+ }
+ }
+ ],
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a000000000000000000000000000000000000000" : {
+ "balance" : "1",
+ "code" : "0x600160005560016000fd",
+ "nonce" : "",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "800000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "a000000000000000000000000000000000000000",
+ "value" : [
+ "10"
+ ]
+ }
+ }
+}