Skip to content

Commit

Permalink
Merge pull request #542 from hugo-dc/extcodehash-hdc
Browse files Browse the repository at this point in the history
new EXTCODEHASH tests
  • Loading branch information
winsvega committed Nov 14, 2018
2 parents b251481 + f28ffe6 commit f9ce066
Show file tree
Hide file tree
Showing 32 changed files with 3,202 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
{
"extCodeHashAccountWithoutCode_d0g0v0_Constantinople" : {
"_info" : {
"comment" : "",
"filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
"lllcversion" : "Version: 0.5.0-develop.2018.11.8+commit.20481055.Linux.g++",
"source" : "src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashAccountWithoutCode_d0g0v0Filler.json",
"sourceHash" : "ad8b2deca774e9a152b8b07592927329ae1767a42a6331f70494c86972718b80"
},
"blocks" : [
{
"blockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x020000",
"extraData" : "",
"gasLimit" : "0x0f4240",
"gasUsed" : "0xab39",
"hash" : "0xab60216b75368f3706fcc3a34ec298413a4ef975abd217fb7e5a6a9a6738b40d",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x01",
"parentHash" : "0x04247e1349f9a739c2e0dc891bbf1b684858380b2360acd6d8c057266e19ba67",
"receiptTrie" : "0x0b4ec82cdad31c2674a1f9ec38eddc33f2d0dfefed8f11ebeaaec3cce12d7e03",
"stateRoot" : "0x47d20ae4cf78b91ad3a38879c4d96581eb190faff162aec5be3a3a04f5cc1f5f",
"timestamp" : "0x03e8",
"transactionsTrie" : "0xf2fde0741a86c3f5b87ccee3cce6faafd15be92989188f40919cb13422672757",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"rlp" : "0xf9025ff901f7a004247e1349f9a739c2e0dc891bbf1b684858380b2360acd6d8c057266e19ba67a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa047d20ae4cf78b91ad3a38879c4d96581eb190faff162aec5be3a3a04f5cc1f5fa0f2fde0741a86c3f5b87ccee3cce6faafd15be92989188f40919cb13422672757a00b4ec82cdad31c2674a1f9ec38eddc33f2d0dfefed8f11ebeaaec3cce12d7e03b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f424082ab398203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f860800183061a8094095e7baea6a6c7c4c2dfeb977efac326af552d8701801ca0ae29a79903b187c6d075320f9834a330b5134244c7fb0476eba58cd87b175fd6a027a8f85308f5f08f4e2f6b2e23d9dcfd740108f8f96517e50c9e1dc86288a673c0",
"transactions" : [
{
"data" : "0x",
"gasLimit" : "0x061a80",
"gasPrice" : "0x01",
"nonce" : "0x00",
"r" : "0xae29a79903b187c6d075320f9834a330b5134244c7fb0476eba58cd87b175fd6",
"s" : "0x27a8f85308f5f08f4e2f6b2e23d9dcfd740108f8f96517e50c9e1dc86288a673",
"to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"v" : "0x1c",
"value" : "0x01"
}
],
"uncleHeaders" : [
]
}
],
"genesisBlockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x020000",
"extraData" : "0x42",
"gasLimit" : "0x0f4240",
"gasUsed" : "0x00",
"hash" : "0x04247e1349f9a739c2e0dc891bbf1b684858380b2360acd6d8c057266e19ba67",
"mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"nonce" : "0x0102030405060708",
"number" : "0x00",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot" : "0xed4e27ea8cba7fe5a10e77a14e9f83bb36c6910486eb6fd723de318a6debf66e",
"timestamp" : "0x03b6",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ed4e27ea8cba7fe5a10e77a14e9f83bb36c6910486eb6fd723de318a6debf66ea056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
"lastblockhash" : "0xab60216b75368f3706fcc3a34ec298413a4ef975abd217fb7e5a6a9a6738b40d",
"network" : "Constantinople",
"postState" : {
"0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640001",
"code" : "0x6020600060006000600073deadbeef00000000000000000000000000000000620249f0f1506020600060003e6000516000556020600060006000600073aeadbeef00000000000000000000000000000000620249f0f1506020600060003e600051600155",
"nonce" : "0x00",
"storage" : {
"0x00" : "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
}
},
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0x1bc16d674ec8ab39",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0de0b6b3a76354c6",
"code" : "0x00",
"nonce" : "0x01",
"storage" : {
}
},
"0xaeadbeef00000000000000000000000000000000" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x73deadbeef000000000000000000000000000000013b60005260206000f3",
"nonce" : "0x00",
"storage" : {
}
},
"0xdeadbeef00000000000000000000000000000000" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x73deadbeef000000000000000000000000000000013f60005260206000f3",
"nonce" : "0x00",
"storage" : {
}
},
"0xdeadbeef00000000000000000000000000000001" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
}
},
"pre" : {
"0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6020600060006000600073deadbeef00000000000000000000000000000000620249f0f1506020600060003e6000516000556020600060006000600073aeadbeef00000000000000000000000000000000620249f0f1506020600060003e600051600155",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x00",
"nonce" : "0x00",
"storage" : {
}
},
"0xaeadbeef00000000000000000000000000000000" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x73deadbeef000000000000000000000000000000013b60005260206000f3",
"nonce" : "0x00",
"storage" : {
}
},
"0xdeadbeef00000000000000000000000000000000" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x73deadbeef000000000000000000000000000000013f60005260206000f3",
"nonce" : "0x00",
"storage" : {
}
},
"0xdeadbeef00000000000000000000000000000001" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
}
},
"sealEngine" : "NoProof"
}
}

Large diffs are not rendered by default.

0 comments on commit f9ce066

Please sign in to comment.