mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 15:55:18 +00:00
add committee to sims (#479)
* fix: update test for cdp breaking changes * fix: add committee to sims
This commit is contained in:
parent
e9c16fa752
commit
22315cc3ca
@ -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()
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user