@@ -34,10 +34,7 @@ import (
3434 stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
3535 upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client"
3636 upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
37- ibctransfertypes "github.com/cosmos/ibc-go/v4/modules/apps/transfer/types"
3837 ibcclientclient "github.com/cosmos/ibc-go/v4/modules/core/02-client/client"
39- ibcclienttypes "github.com/cosmos/ibc-go/v4/modules/core/02-client/types"
40- ibcchanneltypes "github.com/cosmos/ibc-go/v4/modules/core/04-channel/types"
4138 "github.com/ignite-hq/cli/ignite/pkg/openapiconsole"
4239 "github.com/spf13/cast"
4340 abci "github.com/tendermint/tendermint/abci/types"
@@ -46,8 +43,6 @@ import (
4643 tmos "github.com/tendermint/tendermint/libs/os"
4744 dbm "github.com/tendermint/tm-db"
4845
49- "github.com/cosmos/gaia/v8/x/globalfee"
50-
5146 "github.com/CosmWasm/wasmd/x/wasm"
5247 wasmclient "github.com/CosmWasm/wasmd/x/wasm/client"
5348 wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
@@ -60,7 +55,6 @@ import (
6055 v11 "github.com/CosmosContracts/juno/v12/app/upgrades/v11"
6156 v12 "github.com/CosmosContracts/juno/v12/app/upgrades/v12"
6257 oracleclient "github.com/CosmosContracts/juno/v12/x/oracle/client"
63- oracletypes "github.com/CosmosContracts/juno/v12/x/oracle/types"
6458)
6559
6660const (
@@ -307,16 +301,14 @@ func New(
307301 SigGasConsumer : ante .DefaultSigVerificationGasConsumer ,
308302 },
309303
310- GovKeeper : app .GovKeeper ,
311- IBCKeeper : app .IBCKeeper ,
312- FeeShareKeeper : app .FeeShareKeeper ,
313- BankKeeperFork : app .BankKeeper , // since we need extra methods
314- TxCounterStoreKey : app .GetKey (wasm .StoreKey ),
315- WasmConfig : wasmConfig ,
316- Cdc : appCodec ,
317- BypassMinFeeMsgTypes : GetDefaultBypassFeeMessages (),
318- GlobalFeeSubspace : app .GetSubspace (globalfee .ModuleName ),
319- StakingSubspace : app .GetSubspace (stakingtypes .ModuleName ),
304+ GovKeeper : app .GovKeeper ,
305+ IBCKeeper : app .IBCKeeper ,
306+ FeeShareKeeper : app .FeeShareKeeper ,
307+ BankKeeperFork : app .BankKeeper , // since we need extra methods
308+ TxCounterStoreKey : app .GetKey (wasm .StoreKey ),
309+ WasmConfig : wasmConfig ,
310+ Cdc : appCodec ,
311+ StakingSubspace : app .GetSubspace (stakingtypes .ModuleName ),
320312 },
321313 )
322314 if err != nil {
@@ -366,20 +358,6 @@ func New(
366358 return app
367359}
368360
369- func GetDefaultBypassFeeMessages () []string {
370- return []string {
371- // IBC
372- sdk .MsgTypeURL (& ibcchanneltypes.MsgRecvPacket {}),
373- sdk .MsgTypeURL (& ibcchanneltypes.MsgAcknowledgement {}),
374- sdk .MsgTypeURL (& ibcclienttypes.MsgUpdateClient {}),
375- sdk .MsgTypeURL (& ibctransfertypes.MsgTransfer {}),
376-
377- // Oracle
378- sdk .MsgTypeURL (& oracletypes.MsgAggregateExchangeRatePrevote {}),
379- sdk .MsgTypeURL (& oracletypes.MsgAggregateExchangeRateVote {}),
380- }
381- }
382-
383361// Name returns the name of the App
384362func (app * App ) Name () string {
385363 return app .BaseApp .Name ()
0 commit comments