aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-09-21 16:38:19 +0800
committerGitHub <noreply@github.com>2017-09-21 16:38:19 +0800
commit2a44f63f692543f297540306da64a58135a35ab6 (patch)
treed51a0b7319fd15f91e999f9cc9dfd3a05150c426 /GeneralStateTests
parentb6c3fe3f6950967ffaa9bc162572874d9f4d30f5 (diff)
parentf21ded9005cc6ac4c37a7e989576c9a86d2cc044 (diff)
downloaddexon-tests-2a44f63f692543f297540306da64a58135a35ab6.tar
dexon-tests-2a44f63f692543f297540306da64a58135a35ab6.tar.gz
dexon-tests-2a44f63f692543f297540306da64a58135a35ab6.tar.bz2
dexon-tests-2a44f63f692543f297540306da64a58135a35ab6.tar.lz
dexon-tests-2a44f63f692543f297540306da64a58135a35ab6.tar.xz
dexon-tests-2a44f63f692543f297540306da64a58135a35ab6.tar.zst
dexon-tests-2a44f63f692543f297540306da64a58135a35ab6.zip
Merge pull request #333 from ethereum/REVERT_in_staticcall
Add a test about REVERT during a STATICCALL
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stRevertTest/RevertInStaticCall.json113
1 files changed, 113 insertions, 0 deletions
diff --git a/GeneralStateTests/stRevertTest/RevertInStaticCall.json b/GeneralStateTests/stRevertTest/RevertInStaticCall.json
new file mode 100644
index 000000000..c587caa9e
--- /dev/null
+++ b/GeneralStateTests/stRevertTest/RevertInStaticCall.json
@@ -0,0 +1,113 @@
+{
+ "RevertInStaticCall" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.592cc7a9.Linux.clang",
+ "lllcversion" : "Version: 0.4.12-nightly.2016.12.1+commit.598e289a.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stRevertTest/RevertInStaticCallFiller.json"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "hash" : "0xb7340c8561e89cd183ba09d1e01210960582ec1995beb0a5e32cc50f5e0c40cf",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP150" : [
+ {
+ "hash" : "0xc990f22f80e6fea726300ce1149b34742c2aa799edea2aa977cb34ad4d669aee",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0xc990f22f80e6fea726300ce1149b34742c2aa799edea2aa977cb34ad4d669aee",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0xc990f22f80e6fea726300ce1149b34742c2aa799edea2aa977cb34ad4d669aee",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0xc990f22f80e6fea726300ce1149b34742c2aa799edea2aa977cb34ad4d669aee",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x1000000000000000000000000000000000000000" : {
+ "balance" : "0x03e8",
+ "code" : "0x604060006040600073945304eb96065b2a98b57a48a06ae28d285a71b561c350fa600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : {
+ "balance" : "0x00",
+ "code" : "0x60006000fd",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0f4240",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "0x019a54"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000000",
+ "value" : [
+ "0x00"
+ ]
+ }
+ }
+} \ No newline at end of file