Skip to content

Commit

Permalink
fix: delete bankplus
Browse files Browse the repository at this point in the history
  • Loading branch information
da1suk8 committed Mar 27, 2024
1 parent da7659d commit 38a4720
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func NewWasmApp(
sdk.GetConfig().GetBech32AccountAddrPrefix(),
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
)
app.BankKeeper = bankpluskeeper.NewBaseKeeper(
app.BankKeeper = bankkeeper.NewBaseKeeper(
appCodec,
runtime.NewKVStoreService(keys[banktypes.StoreKey]),
app.AccountKeeper,
Expand Down Expand Up @@ -930,8 +930,6 @@ func NewWasmApp(
if err := app.WasmKeeper.InitializePinnedCodes(ctx); err != nil {
panic(fmt.Sprintf("failed initialize pinned codes %s", err))
}
// Initialize the keeper of bankkeeper
app.BankKeeper.(bankpluskeeper.Keeper).InitializeBankPlus(ctx)
}

return app
Expand Down
2 changes: 1 addition & 1 deletion x/wasm/keeper/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ func setupKeeper(t *testing.T) (*Keeper, sdk.Context) {
encodingConfig.Codec,
runtime.NewKVStoreService(keyWasm),
authkeeper.AccountKeeper{},
&bankpluskeeper.BaseKeeper{},
&bankkeeper.BaseKeeper{},
stakingkeeper.Keeper{},
nil,
nil,
Expand Down
2 changes: 1 addition & 1 deletion x/wasm/keeper/test_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ func createTestInput(
}
require.NoError(t, accountKeeper.Params.Set(ctx, authtypes.DefaultParams()))

bankKeeper := bankpluskeeper.NewBaseKeeper(
bankKeeper := bankkeeper.NewBaseKeeper(
appCodec,
runtime.NewKVStoreService(keys[banktypes.StoreKey]),
accountKeeper,
Expand Down

0 comments on commit 38a4720

Please sign in to comment.