Update tendermint, can parse genesis in start

This commit is contained in:
Ethan Frey
2018-03-01 02:34:05 +00:00
committed by rigelrozanski
parent 603c358574
commit f93947f3ab
2 changed files with 11 additions and 2 deletions
+9
View File
@@ -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
}