Update tendermint, can parse genesis in start
This commit is contained in:
committed by
rigelrozanski
parent
603c358574
commit
f93947f3ab
@@ -236,6 +236,15 @@ func (app *BaseApp) InitChain(req abci.RequestInitChain) (res abci.ResponseInitC
|
||||
// NOTE: we don't commit, but BeginBlock for block 1
|
||||
// starts from this deliverState
|
||||
|
||||
// TODO: d00d, tendermint sends nil, until that is fixed, we gotta
|
||||
// read in the genesis file ourselves here
|
||||
res = app.initChainer(ctx, req)
|
||||
// TODO: handle error https://github.com/cosmos/cosmos-sdk/issues/468
|
||||
|
||||
// XXX this commits everything and bumps the version.
|
||||
// https://github.com/cosmos/cosmos-sdk/issues/442#issuecomment-366470148
|
||||
app.cms.Commit()
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user