Update tendermint, can parse genesis in start

This commit is contained in:
Ethan Frey 2018-02-21 13:03:14 +01:00 committed by rigelrozanski
parent 603c358574
commit f93947f3ab
2 changed files with 11 additions and 2 deletions

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 // NOTE: we don't commit, but BeginBlock for block 1
// starts from this deliverState // 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 return
} }

4
glide.lock generated
View File

@ -1,5 +1,5 @@
hash: 89fd2ad769c283b6b29b02b84dd6459a40a47de5dfdfb15d7ced95d53ee9ec18 hash: 89fd2ad769c283b6b29b02b84dd6459a40a47de5dfdfb15d7ced95d53ee9ec18
updated: 2018-02-21T10:37:20.800957+01:00 updated: 2018-02-21T12:53:23.608467+01:00
imports: imports:
- name: github.com/btcsuite/btcd - name: github.com/btcsuite/btcd
version: 50de9da05b50eb15658bb350f6ea24368a111ab7 version: 50de9da05b50eb15658bb350f6ea24368a111ab7
@ -129,7 +129,7 @@ imports:
- name: github.com/tendermint/iavl - name: github.com/tendermint/iavl
version: 1a59ec0c82dc940c25339dd7c834df5cb76a95cb version: 1a59ec0c82dc940c25339dd7c834df5cb76a95cb
- name: github.com/tendermint/tendermint - name: github.com/tendermint/tendermint
version: edeebb7d202467179d1cf6372fd014d36bebf961 version: b24792244d6d03be5a566fd48572743faf3c02e0
subpackages: subpackages:
- blockchain - blockchain
- cmd/tendermint/commands - cmd/tendermint/commands