From 3bca94995dbf6fb54354362be0193e75d3f0b12c Mon Sep 17 00:00:00 2001 From: Pino' Surace Date: Thu, 7 Sep 2023 14:17:32 +0200 Subject: [PATCH] Fix lint --- x/wasm/Governance.md | 1 + x/wasm/keeper/genesis.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/x/wasm/Governance.md b/x/wasm/Governance.md index d9fdff8284..59033db0fb 100644 --- a/x/wasm/Governance.md +++ b/x/wasm/Governance.md @@ -22,6 +22,7 @@ We have added 15 new wasm specific proposal messages that cover the contract's l * `MsgStoreAndInstantiateContract` - upload and instantiate a wasm contract. * `MsgRemoveCodeUploadParamsAddresses` - remove addresses from code upload params. * `MsgAddCodeUploadParamsAddresses` - add addresses to code upload params. +* `MsgStoreAndMigrateContract` - upload and migrate a wasm contract. ## Wasmd Authorization Settings diff --git a/x/wasm/keeper/genesis.go b/x/wasm/keeper/genesis.go index f6953e8238..03e54bb2d1 100644 --- a/x/wasm/keeper/genesis.go +++ b/x/wasm/keeper/genesis.go @@ -47,7 +47,7 @@ func InitGenesis(ctx sdk.Context, keeper *Keeper, data types.GenesisState) ([]ab if err != nil { return nil, errorsmod.Wrapf(err, "address in contract number %d", i) } - err = keeper.importContract(ctx, contractAddr, &contract.ContractInfo, contract.ContractState, contract.ContractCodeHistory) //nolint:gosec + err = keeper.importContract(ctx, contractAddr, &contract.ContractInfo, contract.ContractState, contract.ContractCodeHistory) if err != nil { return nil, errorsmod.Wrapf(err, "contract number %d", i) }