mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
add first uncle test
This commit is contained in:
parent
a57e03b1c8
commit
0938d418c5
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"minDifficulty" : {
|
"oneUncle" : {
|
||||||
"genesisBlockHeader" : {
|
"genesisBlockHeader" : {
|
||||||
"bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
"bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
|
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
|
||||||
"difficulty" : "1023",
|
"difficulty" : "131072",
|
||||||
"extraData" : "0x42",
|
"extraData" : "0x42",
|
||||||
"gasLimit" : "100000000",
|
"gasLimit" : "100000000",
|
||||||
"gasUsed" : "0",
|
"gasUsed" : "0",
|
||||||
@ -55,33 +55,14 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"uncleHeaders" : [
|
"uncleHeaders" : [
|
||||||
{
|
|
||||||
"bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
||||||
"coinbase" : "0000000000000000000000000000000000000000",
|
|
||||||
"difficulty" : "2049",
|
|
||||||
"extraData" : "0x",
|
|
||||||
"gasLimit" : "99804806",
|
|
||||||
"gasUsed" : "21000",
|
|
||||||
"hash" : "e940823998a293aa03c46423d9a9eec91ddca8e5e67445af9ebd3dff3456b4b2",
|
|
||||||
"mixHash" : "05204ec823225e794cce3f93eebfbd79b654366792ad408c7a206b9c588107d9",
|
|
||||||
"nonce" : "17ed77999bef2e4b",
|
|
||||||
"number" : "2",
|
|
||||||
"parentHash" : "25143742f163f84ac5b5afcb2700f61e24421f756ec9551bd79a254d3310e710",
|
|
||||||
"receiptTrie" : "3d08abeec9cf28f9a518de4c71ebbfc8021f18dec3ccd0a72ad1fc0f168339d4",
|
|
||||||
"seedHash" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
|
|
||||||
"stateRoot" : "66120efd3d0e512866232ed57647a33055770ec98eeaddcdbbdedca49a69f9ca",
|
|
||||||
"timestamp" : "1425490151",
|
|
||||||
"transactionsTrie" : "da09ee96fda181334d323831e7402e3a4727d9b631059d0ef47f03f817f83f34",
|
|
||||||
"uncleHash" : "1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"transactions" : [
|
"transactions" : [
|
||||||
{
|
{
|
||||||
"data" : "",
|
"data" : "",
|
||||||
"gasLimit" : "8000000",
|
"gasLimit" : "80000050",
|
||||||
"gasPrice" : "0",
|
"gasPrice" : "1",
|
||||||
"nonce" : "2",
|
"nonce" : "2",
|
||||||
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
||||||
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
||||||
@ -90,25 +71,43 @@
|
|||||||
],
|
],
|
||||||
"uncleHeaders" : [
|
"uncleHeaders" : [
|
||||||
{
|
{
|
||||||
"bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
"bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
|
"coinbase" : "0000000000000000000000000000000000000000",
|
||||||
"difficulty" : "1023",
|
"difficulty" : "131072",
|
||||||
"extraData" : "0x42",
|
"extraData" : "0x",
|
||||||
"gasLimit" : "100000000",
|
"gasLimit" : "99902343",
|
||||||
"gasUsed" : "0",
|
"gasUsed" : "0",
|
||||||
"number" : "1",
|
"hash" : "9de9879b6a81d1b6c4993c63c90a3c9d1e775f14572694778e828bc64972ae04",
|
||||||
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
|
"mixHash" : "b557f905d29ed0fca99d65d0adcce698dee97cf72a13c7cd8d7a7826b8eee770",
|
||||||
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
|
"nonce" : "18a524c1790fa83b",
|
||||||
"stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a",
|
"number" : "2",
|
||||||
"timestamp" : "0x54c98c81",
|
"parentHash" : "6134fc6b5d99ee03c4aab1592640f6f9dcbc850668d75d631aee34989b938fae",
|
||||||
"mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
|
"receiptTrie" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
|
||||||
"seedHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
|
"seedHash" : "1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
|
||||||
"nonce" : "0x0102030405060708",
|
"stateRoot" : "ff640b30d613c35dad43e3693329e1b1ee6350f989cf46a288025a1cbfdab9cd",
|
||||||
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
|
"timestamp" : "0x54c98c82",
|
||||||
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
|
"transactionsTrie" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
|
||||||
|
"uncleHash" : "1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"transactions" : [
|
||||||
|
{
|
||||||
|
"data" : "",
|
||||||
|
"gasLimit" : "80000050",
|
||||||
|
"gasPrice" : "1",
|
||||||
|
"nonce" : "3",
|
||||||
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
||||||
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
||||||
|
"value" : "10"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"uncleHeaders" : [
|
||||||
|
]
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user