diff options
sstore collision overwrite sstore
external call overwrite sstore
Diffstat (limited to 'src/BlockchainTestsFiller/GeneralStateTests/stSStoreTest/sstore_changeFromExternalCallInInitCode_d8g0v0Filler.json')
-rw-r--r-- | src/BlockchainTestsFiller/GeneralStateTests/stSStoreTest/sstore_changeFromExternalCallInInitCode_d8g0v0Filler.json | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stSStoreTest/sstore_changeFromExternalCallInInitCode_d8g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stSStoreTest/sstore_changeFromExternalCallInInitCode_d8g0v0Filler.json new file mode 100644 index 000000000..24cd395bf --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stSStoreTest/sstore_changeFromExternalCallInInitCode_d8g0v0Filler.json @@ -0,0 +1,89 @@ +{ + "sstore_changeFromExternalCallInInitCode_d8g0v0" : { + "_info" : { + "comment" : "account already has storage X. create -> in init code change that account's storage -> 0 -> change it to X again " + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x989680", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x600060006000600073bea0000000000000000000000000000000000000620186a0f4", + "gasLimit" : "0x030d40", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x3aa1b899bcd94185fdf23e146ad8298e3330810517a57d7a9b1392ff3318529c", + "s" : "0x1065903fdab02dc38052569cc80278a5e1d636925a0ed63d78bac0967ae0cef4", + "to" : "", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x6602cfc925be62bf18470598a98f72812a1ebef2" : { + }, + "0xbea0000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + "0x01" : "0x01" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x989680", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xbea0000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060015560016001556001600055", + "nonce" : "0x00", + "storage" : { + "0x01" : "0x01" + } + }, + "0xdea0000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6001600155600060015560016002556000600255600160035560006003556001600455600060045560016005556000600555600160065560006006556001600755600060075560016008556000600855600160095560006009556001600a556000600a556001600b556000600b556001600c556000600c556001600d556000600d556001600e556000600e556001600f556000600f55600160105560006010556001600155", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file |