-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade cosmos-sdk to v0.52 #2005
base: main
Are you sure you want to change the base?
Conversation
scopedTransferKeeper := app.CapabilityKeeper.ScopeToModule(ibctransfertypes.ModuleName) | ||
scopedWasmKeeper := app.CapabilityKeeper.ScopeToModule(wasmtypes.ModuleName) | ||
app.CapabilityKeeper.Seal() | ||
app.AuthKeeper = authkeeper.NewAccountKeeper(runtime.NewEnvironment(runtime.NewKVStoreService(keys[authtypes.StoreKey]), logger.With(log.ModuleKey, "x/auth")), appCodec, authtypes.ProtoBaseAccount, accountsKeeper, maccPerms, signingCtx.AddressCodec(), sdk.Bech32MainPrefix, govModuleAddr) |
Check warning
Code scanning / CodeQL
Directly using the bech32 constants Warning
app.ConsensusParamsKeeper, | ||
govModuleAddr, | ||
signingCtx.ValidatorAddressCodec(), | ||
authcodec.NewBech32Codec(sdk.Bech32PrefixConsAddr), |
Check warning
Code scanning / CodeQL
Directly using the bech32 constants Warning
@@ -662,10 +597,9 @@ | |||
var icaControllerStack porttypes.IBCModule | |||
// integration point for custom authentication modules | |||
// see https://medium.com/the-interchain-foundation/ibc-go-v6-changes-to-interchain-accounts-and-how-it-impacts-your-chain-806c185300d7 | |||
var noAuthzModule porttypes.IBCModule | |||
icaControllerStack = icacontroller.NewIBCMiddleware(noAuthzModule, app.ICAControllerKeeper) | |||
icaControllerStack = icacontroller.NewIBCMiddleware(app.ICAControllerKeeper) |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
@@ -422,7 +420,7 @@ | |||
var bankGenState banktypes.GenesisState | |||
clientCtx.Codec.MustUnmarshalJSON(appGenState[banktypes.ModuleName], &bankGenState) | |||
|
|||
bankGenState.Balances = banktypes.SanitizeGenesisBalances(genBalances) | |||
bankGenState.Balances, err = banktypes.SanitizeGenesisBalances(genBalances, clientCtx.AddressCodec) |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning test
consensusParamsKeeper, | ||
govModuleAddr, | ||
appCodec.InterfaceRegistry().SigningContext().ValidatorAddressCodec(), | ||
authcodec.NewBech32Codec(sdk.Bech32PrefixConsAddr), |
Check warning
Code scanning / CodeQL
Directly using the bech32 constants Warning test
No description provided.