diff options
author | Adrian Sutton <adrian.sutton@consensys.net> | 2018-11-18 11:44:39 +0800 |
---|---|---|
committer | Adrian Sutton <adrian.sutton@consensys.net> | 2018-11-18 11:44:39 +0800 |
commit | d3fc46a945ed79898c685fb6469d8e2af59745e5 (patch) | |
tree | fe22a09578db692c6e860fde89d71b12411abbee /GeneralStateTests | |
parent | f9ce066e38f2cf68547faee183ec2028a36f2b66 (diff) | |
download | dexon-tests-d3fc46a945ed79898c685fb6469d8e2af59745e5.tar.gz dexon-tests-d3fc46a945ed79898c685fb6469d8e2af59745e5.tar.zst dexon-tests-d3fc46a945ed79898c685fb6469d8e2af59745e5.zip |
Add test for EXTCODEHASH of account created and then deleted in same transaction.
Diffstat (limited to 'GeneralStateTests')
-rw-r--r-- | GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccount.json | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccount.json b/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccount.json new file mode 100644 index 000000000..be92529f1 --- /dev/null +++ b/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccount.json @@ -0,0 +1,63 @@ +{ + "extCodeHashCreatedAndDeletedAccount" : { + "_info" : { + "comment" : "EXTCODEHASH/EXTCODESIZE of an account created then deleted in same transaction", + "filledwith" : "testeth 1.5.0-alpha.6-1+commit.19ad7d95.dirty", + "lllcversion" : "Version: 0.5.0-develop.2018.9.29+commit.c4b5101b.Darwin.appleclang", + "source" : "src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashCreatedAndDeletedAccountFiller.json", + "sourceHash" : "ee152cae68b3cb6ec88aad0ba375c095c51f38c0442eaf5dfffcb9b35a71f6d0" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0x28ec9cc4d5b3359131820d265caadf88b559339e71e83d19459e0fc3e7c7d91f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xdeadbeef00000000000000000000000000000000" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x6010600f80604360803960806000f56000526000513f6000556000513b6001556000600060006000600060005162010000f1506000513f6002556000513b60035500fe600380600c6000396000f3fe6000ff", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x061a80" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xdeadbeef00000000000000000000000000000000", + "value" : [ + "0x01" + ] + } + } +}
\ No newline at end of file |