Merge pull request #21162 from karalabe/daofork-order-check-fix
cmd/geth: fix the fork orders for DAO tests
This commit is contained in:
commit
8b83125739
@ -39,7 +39,9 @@ var daoOldGenesis = `{
|
|||||||
"mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
|
"mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
|
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
"timestamp" : "0x00",
|
"timestamp" : "0x00",
|
||||||
"config" : {}
|
"config" : {
|
||||||
|
"homesteadBlock" : 0
|
||||||
|
}
|
||||||
}`
|
}`
|
||||||
|
|
||||||
// Genesis block for nodes which actively oppose the DAO fork
|
// Genesis block for nodes which actively oppose the DAO fork
|
||||||
@ -54,6 +56,7 @@ var daoNoForkGenesis = `{
|
|||||||
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
|
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
"timestamp" : "0x00",
|
"timestamp" : "0x00",
|
||||||
"config" : {
|
"config" : {
|
||||||
|
"homesteadBlock" : 0,
|
||||||
"daoForkBlock" : 314,
|
"daoForkBlock" : 314,
|
||||||
"daoForkSupport" : false
|
"daoForkSupport" : false
|
||||||
}
|
}
|
||||||
@ -71,6 +74,7 @@ var daoProForkGenesis = `{
|
|||||||
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
|
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
"timestamp" : "0x00",
|
"timestamp" : "0x00",
|
||||||
"config" : {
|
"config" : {
|
||||||
|
"homesteadBlock" : 0,
|
||||||
"daoForkBlock" : 314,
|
"daoForkBlock" : 314,
|
||||||
"daoForkSupport" : true
|
"daoForkSupport" : true
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ var customGenesisTests = []struct {
|
|||||||
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
|
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
"timestamp" : "0x00",
|
"timestamp" : "0x00",
|
||||||
"config" : {
|
"config" : {
|
||||||
"homesteadBlock" : 314,
|
"homesteadBlock" : 42,
|
||||||
"daoForkBlock" : 141,
|
"daoForkBlock" : 141,
|
||||||
"daoForkSupport" : true
|
"daoForkSupport" : true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user