-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #578 from ethereum/moretests
sstore overwrite on init collision.
- Loading branch information
Showing
10 changed files
with
1,199 additions
and
0 deletions.
There are no files selected for viewing
131 changes: 131 additions & 0 deletions
131
BlockchainTests/GeneralStateTests/stSStoreTest/InitCollisionNonZeroNonce_d0g0v0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
{ | ||
"InitCollisionNonZeroNonce_d0g0v0_Constantinople" : { | ||
"_info" : { | ||
"comment" : "account already has storage X. create -> in init code change that account's storage -> 0 -> change it to X again ", | ||
"filledwith" : "testeth 1.5.0-alpha.7-15+commit.91787f23", | ||
"lllcversion" : "Version: 0.5.0-develop.2018.11.9+commit.9709dfe0.Linux.g++", | ||
"source" : "src/BlockchainTestsFiller/GeneralStateTests/stSStoreTest/InitCollisionNonZeroNonce_d0g0v0Filler.json", | ||
"sourceHash" : "649f252b92109300b64781e1e9bca2c8ef7547418b1595c9201322595e6b7e38" | ||
}, | ||
"blocks" : [ | ||
{ | ||
"blockHeader" : { | ||
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", | ||
"difficulty" : "0x020000", | ||
"extraData" : "", | ||
"gasLimit" : "0x989680", | ||
"gasUsed" : "0x00", | ||
"hash" : "0x42ea313842e7a0a0b1279418ba54e2445af72337f1ddbd78fb8312dc5e4575a3", | ||
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"nonce" : "0x0000000000000000", | ||
"number" : "0x01", | ||
"parentHash" : "0xb61a7bfa1b64cdd7ef5886a40e6a39f40684cc16cd2c057fef5dc644b506e097", | ||
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"stateRoot" : "0x79e72a3cd576bdf350dba90dd273c0f8afe3563fee06260c57b1542da5b96377", | ||
"timestamp" : "0x03e8", | ||
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" | ||
}, | ||
"rlp" : "0xf901faf901f5a0b61a7bfa1b64cdd7ef5886a40e6a39f40684cc16cd2c057fef5dc644b506e097a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa079e72a3cd576bdf350dba90dd273c0f8afe3563fee06260c57b1542da5b96377a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000183989680808203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000c0c0", | ||
"transactions" : [ | ||
], | ||
"uncleHeaders" : [ | ||
] | ||
} | ||
], | ||
"genesisBlockHeader" : { | ||
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", | ||
"difficulty" : "0x020000", | ||
"extraData" : "0x42", | ||
"gasLimit" : "0x989680", | ||
"gasUsed" : "0x00", | ||
"hash" : "0xb61a7bfa1b64cdd7ef5886a40e6a39f40684cc16cd2c057fef5dc644b506e097", | ||
"mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"nonce" : "0x0102030405060708", | ||
"number" : "0x00", | ||
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"stateRoot" : "0x01a2f9fbee04ba20a3e14acb4f7ffc504f1290626818f075fe72976bdb6c7f1f", | ||
"timestamp" : "0x03b6", | ||
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" | ||
}, | ||
"genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa001a2f9fbee04ba20a3e14acb4f7ffc504f1290626818f075fe72976bdb6c7f1fa056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008083989680808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", | ||
"lastblockhash" : "0x42ea313842e7a0a0b1279418ba54e2445af72337f1ddbd78fb8312dc5e4575a3", | ||
"network" : "Constantinople", | ||
"postState" : { | ||
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { | ||
"balance" : "0x1bc16d674ec80000", | ||
"code" : "", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
}, | ||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { | ||
"balance" : "0x00", | ||
"code" : "", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
"0x01" : "0x01" | ||
} | ||
}, | ||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { | ||
"balance" : "0xe8d4a51000", | ||
"code" : "", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
} | ||
}, | ||
"0xdea0000000000000000000000000000000000000" : { | ||
"balance" : "0x00", | ||
"code" : "0x6001600155600060015560016002556000600255600160035560006003556001600455600060045560016005556000600555600160065560006006556001600755600060075560016008556000600855600160095560006009556001600a556000600a556001600b556000600b556001600c556000600c556001600d556000600d556001600e556000600e556001600f556000600f55600160105560006010556001600155", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
} | ||
}, | ||
"0xfc597da4849c0d854629216d9e297bbca7bb4616" : { | ||
"balance" : "0x00", | ||
"code" : "", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
"0x01" : "0x01" | ||
} | ||
} | ||
}, | ||
"pre" : { | ||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { | ||
"balance" : "0x00", | ||
"code" : "", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
"0x01" : "0x01" | ||
} | ||
}, | ||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { | ||
"balance" : "0xe8d4a51000", | ||
"code" : "", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
} | ||
}, | ||
"0xdea0000000000000000000000000000000000000" : { | ||
"balance" : "0x00", | ||
"code" : "0x6001600155600060015560016002556000600255600160035560006003556001600455600060045560016005556000600555600160065560006006556001600755600060075560016008556000600855600160095560006009556001600a556000600a556001600b556000600b556001600c556000600c556001600d556000600d556001600e556000600e556001600f556000600f55600160105560006010556001600155", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
} | ||
}, | ||
"0xfc597da4849c0d854629216d9e297bbca7bb4616" : { | ||
"balance" : "0x00", | ||
"code" : "", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
"0x01" : "0x01" | ||
} | ||
} | ||
}, | ||
"sealEngine" : "NoProof" | ||
} | ||
} |
131 changes: 131 additions & 0 deletions
131
BlockchainTests/GeneralStateTests/stSStoreTest/InitCollisionNonZeroNonce_d1g0v0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
{ | ||
"InitCollisionNonZeroNonce_d1g0v0_Constantinople" : { | ||
"_info" : { | ||
"comment" : "account already has storage X. create -> in init code change that account's storage -> 0 -> change it to X again ", | ||
"filledwith" : "testeth 1.5.0-alpha.7-15+commit.91787f23", | ||
"lllcversion" : "Version: 0.5.0-develop.2018.11.9+commit.9709dfe0.Linux.g++", | ||
"source" : "src/BlockchainTestsFiller/GeneralStateTests/stSStoreTest/InitCollisionNonZeroNonce_d1g0v0Filler.json", | ||
"sourceHash" : "dcd4c59fa5e1b6d08b3ff9f551026ed2c7ff6c610e777bad110c8f176ba3c55a" | ||
}, | ||
"blocks" : [ | ||
{ | ||
"blockHeader" : { | ||
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", | ||
"difficulty" : "0x020000", | ||
"extraData" : "", | ||
"gasLimit" : "0x989680", | ||
"gasUsed" : "0x00", | ||
"hash" : "0x42ea313842e7a0a0b1279418ba54e2445af72337f1ddbd78fb8312dc5e4575a3", | ||
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"nonce" : "0x0000000000000000", | ||
"number" : "0x01", | ||
"parentHash" : "0xb61a7bfa1b64cdd7ef5886a40e6a39f40684cc16cd2c057fef5dc644b506e097", | ||
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"stateRoot" : "0x79e72a3cd576bdf350dba90dd273c0f8afe3563fee06260c57b1542da5b96377", | ||
"timestamp" : "0x03e8", | ||
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" | ||
}, | ||
"rlp" : "0xf901faf901f5a0b61a7bfa1b64cdd7ef5886a40e6a39f40684cc16cd2c057fef5dc644b506e097a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa079e72a3cd576bdf350dba90dd273c0f8afe3563fee06260c57b1542da5b96377a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000183989680808203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000c0c0", | ||
"transactions" : [ | ||
], | ||
"uncleHeaders" : [ | ||
] | ||
} | ||
], | ||
"genesisBlockHeader" : { | ||
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", | ||
"difficulty" : "0x020000", | ||
"extraData" : "0x42", | ||
"gasLimit" : "0x989680", | ||
"gasUsed" : "0x00", | ||
"hash" : "0xb61a7bfa1b64cdd7ef5886a40e6a39f40684cc16cd2c057fef5dc644b506e097", | ||
"mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"nonce" : "0x0102030405060708", | ||
"number" : "0x00", | ||
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"stateRoot" : "0x01a2f9fbee04ba20a3e14acb4f7ffc504f1290626818f075fe72976bdb6c7f1f", | ||
"timestamp" : "0x03b6", | ||
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" | ||
}, | ||
"genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa001a2f9fbee04ba20a3e14acb4f7ffc504f1290626818f075fe72976bdb6c7f1fa056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008083989680808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", | ||
"lastblockhash" : "0x42ea313842e7a0a0b1279418ba54e2445af72337f1ddbd78fb8312dc5e4575a3", | ||
"network" : "Constantinople", | ||
"postState" : { | ||
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { | ||
"balance" : "0x1bc16d674ec80000", | ||
"code" : "", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
}, | ||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { | ||
"balance" : "0x00", | ||
"code" : "", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
"0x01" : "0x01" | ||
} | ||
}, | ||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { | ||
"balance" : "0xe8d4a51000", | ||
"code" : "", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
} | ||
}, | ||
"0xdea0000000000000000000000000000000000000" : { | ||
"balance" : "0x00", | ||
"code" : "0x6001600155600060015560016002556000600255600160035560006003556001600455600060045560016005556000600555600160065560006006556001600755600060075560016008556000600855600160095560006009556001600a556000600a556001600b556000600b556001600c556000600c556001600d556000600d556001600e556000600e556001600f556000600f55600160105560006010556001600155", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
} | ||
}, | ||
"0xfc597da4849c0d854629216d9e297bbca7bb4616" : { | ||
"balance" : "0x00", | ||
"code" : "", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
"0x01" : "0x01" | ||
} | ||
} | ||
}, | ||
"pre" : { | ||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { | ||
"balance" : "0x00", | ||
"code" : "", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
"0x01" : "0x01" | ||
} | ||
}, | ||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { | ||
"balance" : "0xe8d4a51000", | ||
"code" : "", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
} | ||
}, | ||
"0xdea0000000000000000000000000000000000000" : { | ||
"balance" : "0x00", | ||
"code" : "0x6001600155600060015560016002556000600255600160035560006003556001600455600060045560016005556000600555600160065560006006556001600755600060075560016008556000600855600160095560006009556001600a556000600a556001600b556000600b556001600c556000600c556001600d556000600d556001600e556000600e556001600f556000600f55600160105560006010556001600155", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
} | ||
}, | ||
"0xfc597da4849c0d854629216d9e297bbca7bb4616" : { | ||
"balance" : "0x00", | ||
"code" : "", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
"0x01" : "0x01" | ||
} | ||
} | ||
}, | ||
"sealEngine" : "NoProof" | ||
} | ||
} |
Oops, something went wrong.