mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-26 03:01:42 +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:
@ -30,7 +30,7 @@ func RandVals(cnt int) []types.Validator {
|
||||
// don't make any tx that modify the validator state
|
||||
func InitKVStore(app *PersistentKVStoreApplication) {
|
||||
app.InitChain(types.RequestInitChain{
|
||||
Validators: RandVals(1),
|
||||
AppStateBytes: []byte("[]"),
|
||||
Validators: RandVals(1),
|
||||
GenesisBytes: []byte("[]"),
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user