include genesis file structure

This commit is contained in:
Ethan Buchman
2018-05-31 21:59:20 -04:00
parent 355fde16fe
commit 512b3121a7
5 changed files with 196 additions and 129 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ func InitChain(client abcicli.Client) error {
vals[i] = types.Ed25519Validator(pubkey, int64(power))
}
_, err := client.InitChainSync(types.RequestInitChain{
Validators: vals,
GenesisBytes: []byte("{}"),
Validators: vals,
GenesisFile: types.GenesisFile{},
})
if err != nil {
fmt.Printf("Failed test: InitChain - %v\n", err)