mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-30 19:51:58 +00:00
Change AppStateBytes to GenesisBytes
The consensus should pass the entire genesis file to the application. That way the application has access to the chain_id, the timestap, ...
This commit is contained in:
@@ -19,8 +19,8 @@ func InitChain(client abcicli.Client) error {
|
||||
vals[i] = types.Validator{pubkey, int64(power)}
|
||||
}
|
||||
_, err := client.InitChainSync(types.RequestInitChain{
|
||||
Validators: vals,
|
||||
AppStateBytes: []byte("{}"),
|
||||
Validators: vals,
|
||||
GenesisBytes: []byte("{}"),
|
||||
})
|
||||
if err != nil {
|
||||
fmt.Printf("Failed test: InitChain - %v\n", err)
|
||||
|
Reference in New Issue
Block a user