Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more extcodehash tests of empty accounts #654

Merged
merged 2 commits into from
Nov 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
662 changes: 662 additions & 0 deletions BlockchainTests/GeneralStateTests/stExtCodeHash/callToNonExistent.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
{
"createEmptyThenExtcodehash_d0g0v0_Istanbul" : {
"_info" : {
"comment" : "https://github.com/ethereum/tests/issues/652",
"filling-rpc-server" : "Geth-1.9.7-unstable-b566cfdf-20191104",
"filling-tool-version" : "retesteth-0.0.1+commit.47c32403.Linux.g++",
"lllcversion" : "Version: 0.5.12-develop.2019.9.13+commit.2d601a4f.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stExtCodeHash/createEmptyThenExtcodehashFiller.json",
"sourceHash" : "eec96b766c2b6c53b343e3478532438372181b7de2be889add350864f1c49e09"
},
"genesisBlockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x20000",
"extraData" : "0x00",
"gasLimit" : "0xb00000000",
"gasUsed" : "0x0",
"hash" : "0x387a35bd720b957a27821022e9a6d7b5fadeb94dccb32a2583249758442e77e2",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x0",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot" : "0xf92e4b578b9afc06079e3447aa12335dfda2b3205f8b59b1a5017a159d2f5304",
"timestamp" : "0x0",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"pre" : {
"0x1000000000000000000000000000000000000000" : {
"balance" : "0x00",
"code" : "0x6000600980605660003960006000f5600055730826562ac9373818f7a055166f7b0cc87485f05d3f600155600980605f60003960006000f0600255737c5a2c91b22d7a9226523d4ba717db6afb741ebd3f60035500fe621122336000550000621122336000550000",
"nonce" : "0x00",
"storage" : {
"0x00" : "0x01",
"0x01" : "0x01",
"0x02" : "0x01",
"0x03" : "0x01"
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x6400000000",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
}
},
"postState" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"code" : "0x",
"nonce" : "0x01",
"balance" : "0x63fffdc3c6",
"storage" : {
}
},
"0x0826562ac9373818f7a055166f7b0cc87485f05d" : {
"code" : "0x",
"nonce" : "0x01",
"balance" : "0x00",
"storage" : {
"0x00" : "0x112233"
}
},
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"code" : "0x",
"nonce" : "0x00",
"balance" : "0x1bc16d674eca3c3a",
"storage" : {
}
},
"0x7c5a2c91b22d7a9226523d4ba717db6afb741ebd" : {
"code" : "0x",
"nonce" : "0x01",
"balance" : "0x00",
"storage" : {
"0x00" : "0x112233"
}
},
"0x1000000000000000000000000000000000000000" : {
"code" : "0x6000600980605660003960006000f5600055730826562ac9373818f7a055166f7b0cc87485f05d3f600155600980605f60003960006000f0600255737c5a2c91b22d7a9226523d4ba717db6afb741ebd3f60035500fe621122336000550000621122336000550000",
"nonce" : "0x02",
"balance" : "0x00",
"storage" : {
"0x00" : "0x0826562ac9373818f7a055166f7b0cc87485f05d",
"0x02" : "0x7c5a2c91b22d7a9226523d4ba717db6afb741ebd",
"0x01" : "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"0x03" : "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
}
}
},
"network" : "Istanbul",
"sealEngine" : "NoProof",
"lastblockhash" : "0x8c69cf3a08e677393f5d438a1bb900e75d26e227cd2f091e027b0c0718301bea",
"genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f92e4b578b9afc06079e3447aa12335dfda2b3205f8b59b1a5017a159d2f5304a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850b00000000808000a00000000000000000000000000000000000000000000000000000000000000000880000000000000000c0c0",
"blocks" : [
{
"rlp" : "0xf90262f901faa0387a35bd720b957a27821022e9a6d7b5fadeb94dccb32a2583249758442e77e2a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0d812e91e135ab91f1553cd92bfe5201ae50835a7061861c3b115e3aa2464587ea082d4ed90802e638160722f5d7d709958d053e641458e4dcb1187c624996fc979a00cce6bfe69fed57223828679a08774b6b7feb0a142e60380fd2a642440d7c5f9b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850b02bfffff83023c3a8203e800a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f8608001830493e094100000000000000000000000000000000000000080801ba0ded96076dfef1258eef48fd8fd7021fe6d1dae9f31f2d868ca5d10a986503739a06542dd25224270c546359de985a57a610b5c258a0e88b4c7e1a83dee018944a1c0",
"blockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x20000",
"extraData" : "0x00",
"gasLimit" : "0xb02bfffff",
"gasUsed" : "0x23c3a",
"hash" : "0x8c69cf3a08e677393f5d438a1bb900e75d26e227cd2f091e027b0c0718301bea",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x1",
"parentHash" : "0x387a35bd720b957a27821022e9a6d7b5fadeb94dccb32a2583249758442e77e2",
"receiptTrie" : "0x0cce6bfe69fed57223828679a08774b6b7feb0a142e60380fd2a642440d7c5f9",
"stateRoot" : "0xd812e91e135ab91f1553cd92bfe5201ae50835a7061861c3b115e3aa2464587e",
"timestamp" : "0x3e8",
"transactionsTrie" : "0x82d4ed90802e638160722f5d7d709958d053e641458e4dcb1187c624996fc979",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"transactions" : [
{
"data" : "0x",
"gasLimit" : "0x0493e0",
"gasPrice" : "0x01",
"nonce" : "0x00",
"to" : "0x1000000000000000000000000000000000000000",
"value" : "0x00",
"v" : "0x1b",
"r" : "0xded96076dfef1258eef48fd8fd7021fe6d1dae9f31f2d868ca5d10a986503739",
"s" : "0x6542dd25224270c546359de985a57a610b5c258a0e88b4c7e1a83dee018944a1"
}
]
}
]
}
}
123 changes: 123 additions & 0 deletions GeneralStateTests/stExtCodeHash/callToNonExistent.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
{
"callToNonExistent" : {
"_info" : {
"comment" : "https://github.com/ethereum/tests/issues/652",
"filling-rpc-server" : "Geth-1.9.7-unstable-b566cfdf-20191104",
"filling-tool-version" : "retesteth-0.0.1+commit.47c32403.Linux.g++",
"lllcversion" : "Version: 0.5.12-develop.2019.9.13+commit.2d601a4f.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stExtCodeHash/callToNonExistentFiller.json",
"sourceHash" : "5eef8c0b0ca809ea5d2e876805427281893e13cc053f06177d648ebcc57e361e"
},
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0xb2d05e00",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
"previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"Istanbul" : [
{
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"hash" : "0x8b3e7a0ef99a2461bf20a402a0ca10acc53e4af2a359fe74cdd70dac1cfe5278",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
"indexes" : {
"data" : 1,
"gas" : 0,
"value" : 0
},
"hash" : "0x8b3e7a0ef99a2461bf20a402a0ca10acc53e4af2a359fe74cdd70dac1cfe5278",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
"indexes" : {
"data" : 2,
"gas" : 0,
"value" : 0
},
"hash" : "0x86911837f304d29af913721060ae5e9541fbcae66562ccbc9ddf386680329778",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
"indexes" : {
"data" : 3,
"gas" : 0,
"value" : 0
},
"hash" : "0x86911837f304d29af913721060ae5e9541fbcae66562ccbc9ddf386680329778",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
"0x1000000000000000000000000000000000000000" : {
"balance" : "0x00",
"code" : "0x604060006040600060006000355af200",
"nonce" : "0x00",
"storage" : {
"0x01" : "0x1122"
}
},
"0x1000000000000000000000000000000000000001" : {
"balance" : "0x00",
"code" : "0x6000600060006000600073dead0000000000000000000000000000000000016161a8f160005573dead0000000000000000000000000000000000013f60015500",
"nonce" : "0x00",
"storage" : {
}
},
"0x2000000000000000000000000000000000000001" : {
"balance" : "0x00",
"code" : "0x6000600060006000600073dead0000000000000000000000000000000000016161a8f260005573dead0000000000000000000000000000000000013f60015500",
"nonce" : "0x00",
"storage" : {
}
},
"0x3000000000000000000000000000000000000001" : {
"balance" : "0x00",
"code" : "0x600060006000600073dead0000000000000000000000000000000000016161a8f460005573dead0000000000000000000000000000000000013f60015500",
"nonce" : "0x00",
"storage" : {
}
},
"0x4000000000000000000000000000000000000001" : {
"balance" : "0x00",
"code" : "0x600060006000600073dead0000000000000000000000000000000000016161a8fa60005573dead0000000000000000000000000000000000013f60015500",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
}
},
"transaction" : {
"data" : [
"0x0000000000000000000000001000000000000000000000000000000000000001",
"0x0000000000000000000000002000000000000000000000000000000000000001",
"0x0000000000000000000000003000000000000000000000000000000000000001",
"0x0000000000000000000000004000000000000000000000000000000000000001"
],
"gasLimit" : [
"0x0186a0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "0x1000000000000000000000000000000000000000",
"value" : [
"0x01"
]
}
}
}
Loading