nimbus-eth1/tests/fixtures/BlockchainTests/ValidBlocks/bcStateTests/extCodeHashOfDeletedAccount...

352 lines
24 KiB
JSON

{
"extCodeHashOfDeletedAccount_Constantinople" : {
"_info" : {
"comment" : "5) a blockchain test with block having 2/3 transactions. account a is in the state with the code before the first transaction. 1st transaction (sstore 1 codehash(a)) 2nd transaction suicide a (could be merged with 1st transaction) 3d transaction (sstore 2 codehash(a)) check by expect section sstore value of 1 and 2.",
"filledwith" : "testeth 1.6.0-alpha.0-12+commit.05b55e64",
"lllcversion" : "Version: 0.5.0-develop.2018.11.9+commit.9709dfe0.Linux.g++",
"source" : "src/BlockchainTestsFiller/bcStateTests/extCodeHashOfDeletedAccountFiller.json",
"sourceHash" : "0a5bfc9ee2d4fe2f716753ae212441dee0f45fdcd20f174abe639ade9288278f"
},
"blocks" : [
{
"blockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
"difficulty" : "0x020000",
"extraData" : "",
"gasLimit" : "0x2fefba",
"gasUsed" : "0x020b72",
"hash" : "0xbdc765501d0bcc2c4cd907722fc63bb5888194aa1984d1c9d2f1cbd9c8df61de",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x01",
"parentHash" : "0x37e75c4896cabfd4259bed202f5aeca2a28bbd48414f49bfd91ce9d826cfc3ab",
"receiptTrie" : "0xae3618707b0d0f4a04469dda4e5046f79e30f64ad216242ab54fa4f5c481ba32",
"stateRoot" : "0x4e5881fe526200759ce7f784ef7f73813b5dc0ee72421dc4ca5dc758e63209eb",
"timestamp" : "0x5c477014",
"transactionsTrie" : "0xe6cfeb14af7b3a91b1446f7e1a38c32998d2225b23b41d0a30d89980bba67e42",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"rlp" : "0xf90327f901faa037e75c4896cabfd4259bed202f5aeca2a28bbd48414f49bfd91ce9d826cfc3aba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a04e5881fe526200759ce7f784ef7f73813b5dc0ee72421dc4ca5dc758e63209eba0e6cfeb14af7b3a91b1446f7e1a38c32998d2225b23b41d0a30d89980bba67e42a0ae3618707b0d0f4a04469dda4e5046f79e30f64ad216242ab54fa4f5c481ba32b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001832fefba83020b72845c47701480a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f90126f860800183061a8094100000000000000000000000000000000000000080801ca0436c8420915217ae867d043179d78b4a8abc7a66f7658df0a06d4aa1f60475f3a017eab00aa21e61a07156519a1639a46bf5fb97e3fb07ea39ca885e9bb9145360f860010183061a8094110000000000000000000000000000000000000080801ba0211f2484b4229df13ba874c8d0daea7aa63f7cfb58bcaeac30da082ad867a7aaa03351adf0ceb867bfa88c150724693e01af84ec32a2bf0f29403aa0bb97f4c630f860020183061a8094120000000000000000000000000000000000000080801ca088b24eaadbdec2fdf405a4017f5e0d7d8810d4c74a34843539f2be6cc1a989fca079ad8ded0eeefa6732038ceb50e3a987a5ba9c1ea12eb3e6f78651858f1fd2a1c0",
"transactions" : [
{
"data" : "0x",
"gasLimit" : "0x061a80",
"gasPrice" : "0x01",
"nonce" : "0x00",
"r" : "0x436c8420915217ae867d043179d78b4a8abc7a66f7658df0a06d4aa1f60475f3",
"s" : "0x17eab00aa21e61a07156519a1639a46bf5fb97e3fb07ea39ca885e9bb9145360",
"to" : "0x1000000000000000000000000000000000000000",
"v" : "0x1c",
"value" : "0x00"
},
{
"data" : "0x",
"gasLimit" : "0x061a80",
"gasPrice" : "0x01",
"nonce" : "0x01",
"r" : "0x211f2484b4229df13ba874c8d0daea7aa63f7cfb58bcaeac30da082ad867a7aa",
"s" : "0x3351adf0ceb867bfa88c150724693e01af84ec32a2bf0f29403aa0bb97f4c630",
"to" : "0x1100000000000000000000000000000000000000",
"v" : "0x1b",
"value" : "0x00"
},
{
"data" : "0x",
"gasLimit" : "0x061a80",
"gasPrice" : "0x01",
"nonce" : "0x02",
"r" : "0x88b24eaadbdec2fdf405a4017f5e0d7d8810d4c74a34843539f2be6cc1a989fc",
"s" : "0x79ad8ded0eeefa6732038ceb50e3a987a5ba9c1ea12eb3e6f78651858f1fd2a1",
"to" : "0x1200000000000000000000000000000000000000",
"v" : "0x1c",
"value" : "0x00"
}
],
"uncleHeaders" : [
]
}
],
"genesisBlockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
"difficulty" : "0x020000",
"extraData" : "0x42",
"gasLimit" : "0x2fefd8",
"gasUsed" : "0x00",
"hash" : "0x37e75c4896cabfd4259bed202f5aeca2a28bbd48414f49bfd91ce9d826cfc3ab",
"mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"nonce" : "0x0102030405060708",
"number" : "0x00",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot" : "0xf7abdfce594dbebce627450f5b585f174b8f954fbf530c3e0367ee04eac85313",
"timestamp" : "0x54c98c81",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a0f7abdfce594dbebce627450f5b585f174b8f954fbf530c3e0367ee04eac85313a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080832fefd8808454c98c8142a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
"lastblockhash" : "0xbdc765501d0bcc2c4cd907722fc63bb5888194aa1984d1c9d2f1cbd9c8df61de",
"network" : "Constantinople",
"postState" : {
"0x0000000000000000000000000000000000000001" : {
"balance" : "0x03e8",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x1000000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x7320000000000000000000000000000000000000003f6000557320000000000000000000000000000000000000003b6001556020600060007320000000000000000000000000000000000000003c600051600255",
"nonce" : "0x00",
"storage" : {
"0x00" : "0x4332e7449d179f5dceba0d414291d661898a5770bf47f83cab418bc9c8d1e304",
"0x01" : "0x03",
"0x02" : "0x6001ff0000000000000000000000000000000000000000000000000000000000"
}
},
"0x1100000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x60006000600060006000732000000000000000000000000000000000000000620186a0f1",
"nonce" : "0x00",
"storage" : {
}
},
"0x1200000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x7320000000000000000000000000000000000000003f6000557320000000000000000000000000000000000000003b6001556020600060007320000000000000000000000000000000000000003c600051600255",
"nonce" : "0x00",
"storage" : {
}
},
"0x8888f1f195afa192cfee860698584c030f4c9db1" : {
"balance" : "0x1bc16d674eca0b72",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x016345785d87f48e",
"code" : "",
"nonce" : "0x03",
"storage" : {
}
}
},
"pre" : {
"0x1000000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x7320000000000000000000000000000000000000003f6000557320000000000000000000000000000000000000003b6001556020600060007320000000000000000000000000000000000000003c600051600255",
"nonce" : "0x00",
"storage" : {
}
},
"0x1100000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x60006000600060006000732000000000000000000000000000000000000000620186a0f1",
"nonce" : "0x00",
"storage" : {
}
},
"0x1200000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x7320000000000000000000000000000000000000003f6000557320000000000000000000000000000000000000003b6001556020600060007320000000000000000000000000000000000000003c600051600255",
"nonce" : "0x00",
"storage" : {
}
},
"0x2000000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x6001ff",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x016345785d8a0000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
}
},
"sealEngine" : "NoProof"
},
"extCodeHashOfDeletedAccount_ConstantinopleFix" : {
"_info" : {
"comment" : "5) a blockchain test with block having 2/3 transactions. account a is in the state with the code before the first transaction. 1st transaction (sstore 1 codehash(a)) 2nd transaction suicide a (could be merged with 1st transaction) 3d transaction (sstore 2 codehash(a)) check by expect section sstore value of 1 and 2.",
"filledwith" : "testeth 1.6.0-alpha.0-12+commit.05b55e64",
"lllcversion" : "Version: 0.5.0-develop.2018.11.9+commit.9709dfe0.Linux.g++",
"source" : "src/BlockchainTestsFiller/bcStateTests/extCodeHashOfDeletedAccountFiller.json",
"sourceHash" : "0a5bfc9ee2d4fe2f716753ae212441dee0f45fdcd20f174abe639ade9288278f"
},
"blocks" : [
{
"blockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
"difficulty" : "0x020000",
"extraData" : "",
"gasLimit" : "0x2fefba",
"gasUsed" : "0x0243b2",
"hash" : "0xbcc9159be6f2e0f5d9fcceeb52f2c28c8bf78958edc373cd6c086ca5a52f8c35",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x01",
"parentHash" : "0x37e75c4896cabfd4259bed202f5aeca2a28bbd48414f49bfd91ce9d826cfc3ab",
"receiptTrie" : "0x8eb4df581d406117b7a500acf413f2068c63bf5fb91b887f6dd85bbfb9d38788",
"stateRoot" : "0x0345eefd922ed3807ce883e80fd9b381d9d65a50940187654b2541076c1a4138",
"timestamp" : "0x5c477015",
"transactionsTrie" : "0xe6cfeb14af7b3a91b1446f7e1a38c32998d2225b23b41d0a30d89980bba67e42",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"rlp" : "0xf90327f901faa037e75c4896cabfd4259bed202f5aeca2a28bbd48414f49bfd91ce9d826cfc3aba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a00345eefd922ed3807ce883e80fd9b381d9d65a50940187654b2541076c1a4138a0e6cfeb14af7b3a91b1446f7e1a38c32998d2225b23b41d0a30d89980bba67e42a08eb4df581d406117b7a500acf413f2068c63bf5fb91b887f6dd85bbfb9d38788b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001832fefba830243b2845c47701580a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f90126f860800183061a8094100000000000000000000000000000000000000080801ca0436c8420915217ae867d043179d78b4a8abc7a66f7658df0a06d4aa1f60475f3a017eab00aa21e61a07156519a1639a46bf5fb97e3fb07ea39ca885e9bb9145360f860010183061a8094110000000000000000000000000000000000000080801ba0211f2484b4229df13ba874c8d0daea7aa63f7cfb58bcaeac30da082ad867a7aaa03351adf0ceb867bfa88c150724693e01af84ec32a2bf0f29403aa0bb97f4c630f860020183061a8094120000000000000000000000000000000000000080801ca088b24eaadbdec2fdf405a4017f5e0d7d8810d4c74a34843539f2be6cc1a989fca079ad8ded0eeefa6732038ceb50e3a987a5ba9c1ea12eb3e6f78651858f1fd2a1c0",
"transactions" : [
{
"data" : "0x",
"gasLimit" : "0x061a80",
"gasPrice" : "0x01",
"nonce" : "0x00",
"r" : "0x436c8420915217ae867d043179d78b4a8abc7a66f7658df0a06d4aa1f60475f3",
"s" : "0x17eab00aa21e61a07156519a1639a46bf5fb97e3fb07ea39ca885e9bb9145360",
"to" : "0x1000000000000000000000000000000000000000",
"v" : "0x1c",
"value" : "0x00"
},
{
"data" : "0x",
"gasLimit" : "0x061a80",
"gasPrice" : "0x01",
"nonce" : "0x01",
"r" : "0x211f2484b4229df13ba874c8d0daea7aa63f7cfb58bcaeac30da082ad867a7aa",
"s" : "0x3351adf0ceb867bfa88c150724693e01af84ec32a2bf0f29403aa0bb97f4c630",
"to" : "0x1100000000000000000000000000000000000000",
"v" : "0x1b",
"value" : "0x00"
},
{
"data" : "0x",
"gasLimit" : "0x061a80",
"gasPrice" : "0x01",
"nonce" : "0x02",
"r" : "0x88b24eaadbdec2fdf405a4017f5e0d7d8810d4c74a34843539f2be6cc1a989fc",
"s" : "0x79ad8ded0eeefa6732038ceb50e3a987a5ba9c1ea12eb3e6f78651858f1fd2a1",
"to" : "0x1200000000000000000000000000000000000000",
"v" : "0x1c",
"value" : "0x00"
}
],
"uncleHeaders" : [
]
}
],
"genesisBlockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
"difficulty" : "0x020000",
"extraData" : "0x42",
"gasLimit" : "0x2fefd8",
"gasUsed" : "0x00",
"hash" : "0x37e75c4896cabfd4259bed202f5aeca2a28bbd48414f49bfd91ce9d826cfc3ab",
"mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"nonce" : "0x0102030405060708",
"number" : "0x00",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot" : "0xf7abdfce594dbebce627450f5b585f174b8f954fbf530c3e0367ee04eac85313",
"timestamp" : "0x54c98c81",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a0f7abdfce594dbebce627450f5b585f174b8f954fbf530c3e0367ee04eac85313a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080832fefd8808454c98c8142a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
"lastblockhash" : "0xbcc9159be6f2e0f5d9fcceeb52f2c28c8bf78958edc373cd6c086ca5a52f8c35",
"network" : "ConstantinopleFix",
"postState" : {
"0x0000000000000000000000000000000000000001" : {
"balance" : "0x03e8",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x1000000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x7320000000000000000000000000000000000000003f6000557320000000000000000000000000000000000000003b6001556020600060007320000000000000000000000000000000000000003c600051600255",
"nonce" : "0x00",
"storage" : {
"0x00" : "0x4332e7449d179f5dceba0d414291d661898a5770bf47f83cab418bc9c8d1e304",
"0x01" : "0x03",
"0x02" : "0x6001ff0000000000000000000000000000000000000000000000000000000000"
}
},
"0x1100000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x60006000600060006000732000000000000000000000000000000000000000620186a0f1",
"nonce" : "0x00",
"storage" : {
}
},
"0x1200000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x7320000000000000000000000000000000000000003f6000557320000000000000000000000000000000000000003b6001556020600060007320000000000000000000000000000000000000003c600051600255",
"nonce" : "0x00",
"storage" : {
}
},
"0x8888f1f195afa192cfee860698584c030f4c9db1" : {
"balance" : "0x1bc16d674eca43b2",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x016345785d87bc4e",
"code" : "",
"nonce" : "0x03",
"storage" : {
}
}
},
"pre" : {
"0x1000000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x7320000000000000000000000000000000000000003f6000557320000000000000000000000000000000000000003b6001556020600060007320000000000000000000000000000000000000003c600051600255",
"nonce" : "0x00",
"storage" : {
}
},
"0x1100000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x60006000600060006000732000000000000000000000000000000000000000620186a0f1",
"nonce" : "0x00",
"storage" : {
}
},
"0x1200000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x7320000000000000000000000000000000000000003f6000557320000000000000000000000000000000000000003b6001556020600060007320000000000000000000000000000000000000003c600051600255",
"nonce" : "0x00",
"storage" : {
}
},
"0x2000000000000000000000000000000000000000" : {
"balance" : "0x03e8",
"code" : "0x6001ff",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x016345785d8a0000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
}
},
"sealEngine" : "NoProof"
}
}