Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pinosu committed Sep 7, 2023
1 parent c271f60 commit 3bca949
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions x/wasm/Governance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion x/wasm/keeper/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 3bca949

Please sign in to comment.