setup proper template defaults

This commit is contained in:
whyrusleeping 2020-08-18 14:34:35 -07:00
parent abca69b476
commit 916bebadef
2 changed files with 15 additions and 12 deletions

View File

@ -51,6 +51,7 @@ var genesisNewCmd = &cli.Command{
Accounts: []genesis.Actor{},
Miners: []genesis.Miner{},
VerifregRootKey: gen.DefaultVerifregRootkeyActor,
RemainderAccount: gen.DefaultRemainderAccountActor,
NetworkName: cctx.String("network-name"),
}
if out.NetworkName == "" {

View File

@ -216,6 +216,7 @@ func builder(t *testing.T, nFull int, storage []test.StorageMiner) ([]test.TestN
Miners: genms,
Timestamp: uint64(time.Now().Unix() - 10000), // some time sufficiently far in the past
VerifregRootKey: gen.DefaultVerifregRootkeyActor,
RemainderAccount: gen.DefaultRemainderAccountActor,
}
// END PRESEAL SECTION
@ -366,6 +367,7 @@ func mockSbBuilder(t *testing.T, nFull int, storage []test.StorageMiner) ([]test
Miners: genms,
Timestamp: uint64(time.Now().Unix()) - (build.BlockDelaySecs * 20000),
VerifregRootKey: gen.DefaultVerifregRootkeyActor,
RemainderAccount: gen.DefaultRemainderAccountActor,
}
// END PRESEAL SECTION