add committee to sims (#479)

* fix: update test for cdp breaking changes

* fix: add committee to sims
This commit is contained in:
Kevin Davis 2020-04-30 10:27:37 -04:00 committed by GitHub
parent e9c16fa752
commit 22315cc3ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -400,6 +400,7 @@ func NewApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool,
bep3.NewAppModule(app.bep3Keeper, app.accountKeeper, app.supplyKeeper), bep3.NewAppModule(app.bep3Keeper, app.accountKeeper, app.supplyKeeper),
kavadist.NewAppModule(app.kavadistKeeper, app.supplyKeeper), kavadist.NewAppModule(app.kavadistKeeper, app.supplyKeeper),
incentive.NewAppModule(app.incentiveKeeper, app.accountKeeper, app.supplyKeeper), incentive.NewAppModule(app.incentiveKeeper, app.accountKeeper, app.supplyKeeper),
committee.NewAppModule(app.committeeKeeper, app.accountKeeper),
) )
app.sm.RegisterStoreDecoders() app.sm.RegisterStoreDecoders()

View File

@ -288,7 +288,7 @@ func (suite *KeeperTestSuite) TestValidatePubProposal() {
[]params.ParamChange{{ []params.ParamChange{{
Subspace: cdptypes.ModuleName, Subspace: cdptypes.ModuleName,
Key: string(cdptypes.KeyGlobalDebtLimit), Key: string(cdptypes.KeyGlobalDebtLimit),
Value: string(types.ModuleCdc.MustMarshalJSON(cs(c("usdx", 100000000000)))), Value: string(types.ModuleCdc.MustMarshalJSON(c("usdx", 100000000000))),
}}, }},
), ),
expectErr: false, expectErr: false,