Merge pull request #1812: Add BaseApp.Seal

* Merge pull request #1812: Add BaseApp.Seal

fix pow

move setter functions

apply requests

* fix errors

* fix test

* fix test

* changelog
This commit is contained in:
Joon
2018-08-01 00:23:25 -04:00
committed by Rigel
parent 179b8f9c49
commit 7b54e4b786
10 changed files with 238 additions and 123 deletions
+3
View File
@@ -96,6 +96,9 @@ func NewDemocoinApp(logger log.Logger, db dbm.DB) *DemocoinApp {
if err != nil {
cmn.Exit(err.Error())
}
app.Seal()
return app
}
+3
View File
@@ -33,6 +33,9 @@ func getMockApp(t *testing.T) *mock.App {
mapp.SetInitChainer(getInitChainer(mapp, keeper))
require.NoError(t, mapp.CompleteSetup([]*sdk.KVStoreKey{keyPOW}))
mapp.Seal()
return mapp
}