diff options
author | winsvega <winsvega@mail.ru> | 2017-04-03 20:26:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-03 20:26:08 +0800 |
commit | d20829ef0bfd7a086d5a97c2c8008dcf83cb5304 (patch) | |
tree | 4b7d9ee70009c9bb8d3965eaf1a0cbddf3e7fd33 /GeneralStateTests/stRevertTest/RevertOpcode.json | |
parent | 8e5e26d20e9d3a76fd493f84ab6f79fc1990764d (diff) | |
parent | 7458738f0b906b52075f4ff79a7309ce28c8fe56 (diff) | |
download | dexon-tests-d20829ef0bfd7a086d5a97c2c8008dcf83cb5304.tar dexon-tests-d20829ef0bfd7a086d5a97c2c8008dcf83cb5304.tar.gz dexon-tests-d20829ef0bfd7a086d5a97c2c8008dcf83cb5304.tar.bz2 dexon-tests-d20829ef0bfd7a086d5a97c2c8008dcf83cb5304.tar.lz dexon-tests-d20829ef0bfd7a086d5a97c2c8008dcf83cb5304.tar.xz dexon-tests-d20829ef0bfd7a086d5a97c2c8008dcf83cb5304.tar.zst dexon-tests-d20829ef0bfd7a086d5a97c2c8008dcf83cb5304.zip |
Merge pull request #149 from ethereum/revertTests
Revert tests
Diffstat (limited to 'GeneralStateTests/stRevertTest/RevertOpcode.json')
-rw-r--r-- | GeneralStateTests/stRevertTest/RevertOpcode.json | 217 |
1 files changed, 217 insertions, 0 deletions
diff --git a/GeneralStateTests/stRevertTest/RevertOpcode.json b/GeneralStateTests/stRevertTest/RevertOpcode.json new file mode 100644 index 000000000..80977eb7a --- /dev/null +++ b/GeneralStateTests/stRevertTest/RevertOpcode.json @@ -0,0 +1,217 @@ +{ + "RevertOpcode" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "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" : "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" : "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" : "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" : "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" : "0x00", + "code" : "0x600160005560016000fd6011600155", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "800000", + "30000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "a000000000000000000000000000000000000000", + "value" : [ + "0", + "10" + ] + } + } +}
\ No newline at end of file |