mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-27 11:41:39 +00:00
types: RequestInitChain.AppStateBytes
This commit is contained in:
@ -18,7 +18,10 @@ func InitChain(client abcicli.Client) error {
|
||||
power := cmn.RandInt()
|
||||
vals[i] = types.Validator{pubkey, int64(power)}
|
||||
}
|
||||
_, err := client.InitChainSync(types.RequestInitChain{Validators: vals})
|
||||
_, err := client.InitChainSync(types.RequestInitChain{
|
||||
Validators: vals,
|
||||
AppStateBytes: []byte("{}"),
|
||||
})
|
||||
if err != nil {
|
||||
fmt.Printf("Failed test: InitChain - %v\n", err)
|
||||
return err
|
||||
|
Reference in New Issue
Block a user