diff options
author | winsvega <winsvega@mail.ru> | 2018-11-21 20:05:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 20:05:04 +0800 |
commit | c12d3a50a364f316de78996562470b6eaff65d5b (patch) | |
tree | b532fe3766705bdb1ba7d0cb12b7df3f1f6b2483 /GeneralStateTests | |
parent | 00c6354c3c5737b407605b57d0dda2faee449e44 (diff) | |
parent | 13128359b18ecfd86426652aefd9ab5de822edad (diff) | |
download | tangerine-tests-c12d3a50a364f316de78996562470b6eaff65d5b.tar tangerine-tests-c12d3a50a364f316de78996562470b6eaff65d5b.tar.gz tangerine-tests-c12d3a50a364f316de78996562470b6eaff65d5b.tar.bz2 tangerine-tests-c12d3a50a364f316de78996562470b6eaff65d5b.tar.lz tangerine-tests-c12d3a50a364f316de78996562470b6eaff65d5b.tar.xz tangerine-tests-c12d3a50a364f316de78996562470b6eaff65d5b.tar.zst tangerine-tests-c12d3a50a364f316de78996562470b6eaff65d5b.zip |
Merge pull request #550 from ajsutton/extcodehash-changeaccount
Add test for EXTCODEHASH before and after changing account balance, nonce and storage
Diffstat (limited to 'GeneralStateTests')
-rw-r--r-- | GeneralStateTests/stExtCodeHash/extCodeHashChangedAccount.json | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/GeneralStateTests/stExtCodeHash/extCodeHashChangedAccount.json b/GeneralStateTests/stExtCodeHash/extCodeHashChangedAccount.json new file mode 100644 index 000000000..368cdbf1f --- /dev/null +++ b/GeneralStateTests/stExtCodeHash/extCodeHashChangedAccount.json @@ -0,0 +1,77 @@ +{ + "extCodeHashChangedAccount" : { + "_info" : { + "comment" : "EXTCODEHASH/EXTCODESIZE of an account before and after changing its nonce, balance and storage", + "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/extCodeHashChangedAccountFiller.json", + "sourceHash" : "4317c1a00c390201a4c4c251b7e14c368f22e85a6e6b7593fedf428c6738d98d" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0xeeca9394ae5c091dc25e6a2e948ee8a1dca97a4dc2d4793c3f9dd6afd1dc7a06", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xdeadbeef00000000000000000000000000000000" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x73deadbeef000000000000000000000000000000013f60005573deadbeef000000000000000000000000000000013b60015560006000600060006103e873deadbeef0000000000000000000000000000000162010000f15073deadbeef000000000000000000000000000000013f60025573deadbeef000000000000000000000000000000013b60035500", + "nonce" : "0x00", + "storage" : { + } + }, + "0xdeadbeef00000000000000000000000000000001" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x600060006000f050611234600055", + "nonce" : "0x00", + "storage" : { + } + }, + "0xdeadbeef00000000000000000000000000000002" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x061a80" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xdeadbeef00000000000000000000000000000000", + "value" : [ + "0x01" + ] + } + } +}
\ No newline at end of file |