diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-09-18 18:49:31 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-09-18 18:49:31 +0800 |
commit | e163d0b6195d708c8c7650adf73663e83f56d80b (patch) | |
tree | a7767ac112932a8ffcb2ae82d1f3133ebd76166c /GeneralStateTests | |
parent | d743bfccc1a122ed9248051fbc7434a2e0dfb465 (diff) | |
download | tangerine-tests-e163d0b6195d708c8c7650adf73663e83f56d80b.tar tangerine-tests-e163d0b6195d708c8c7650adf73663e83f56d80b.tar.gz tangerine-tests-e163d0b6195d708c8c7650adf73663e83f56d80b.tar.bz2 tangerine-tests-e163d0b6195d708c8c7650adf73663e83f56d80b.tar.lz tangerine-tests-e163d0b6195d708c8c7650adf73663e83f56d80b.tar.xz tangerine-tests-e163d0b6195d708c8c7650adf73663e83f56d80b.tar.zst tangerine-tests-e163d0b6195d708c8c7650adf73663e83f56d80b.zip |
Add a test executing REVERT during a DELEGATECALL
Diffstat (limited to 'GeneralStateTests')
-rw-r--r-- | GeneralStateTests/stRevertTest/RevertInDelegateCall.json | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/GeneralStateTests/stRevertTest/RevertInDelegateCall.json b/GeneralStateTests/stRevertTest/RevertInDelegateCall.json new file mode 100644 index 000000000..1256890ad --- /dev/null +++ b/GeneralStateTests/stRevertTest/RevertInDelegateCall.json @@ -0,0 +1,113 @@ +{ + "RevertInDelegateCall" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.24aa386b.Linux.clang", + "lllcversion" : "Version: 0.4.12-nightly.2016.12.1+commit.598e289a.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stRevertTest/RevertInDelegateCallFiller.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x4fa543987e47dfabf5d48697e579a27af93963cf763b5407061e108a98160152", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0x92eadb980ed592789ec050dca21d4cf21e85421074343c3dc238a41630bc552a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0x92eadb980ed592789ec050dca21d4cf21e85421074343c3dc238a41630bc552a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0xed7757eeb4b4643715223fbc873596a985c2913fc96433ce5cdcecf0ca008544", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0x735afb5cfab42a686a7c64461697cc819eb29b2130a66602584a72f6527c1f9c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x03e8", + "code" : "0x604060006040600073945304eb96065b2a98b57a48a06ae28d285a71b561c350f4600055", + "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 |