From cfa2cebedba0d4cb568ef51d1cbd7626f073f56e Mon Sep 17 00:00:00 2001 From: Pino' Surace Date: Fri, 9 Dec 2022 11:53:23 +0100 Subject: [PATCH] Fix comments --- x/wasm/simulation/proposals.go | 2 +- x/wasm/types/proposal.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x/wasm/simulation/proposals.go b/x/wasm/simulation/proposals.go index b46e97d1ac..7c1582b467 100644 --- a/x/wasm/simulation/proposals.go +++ b/x/wasm/simulation/proposals.go @@ -374,7 +374,7 @@ func SimulateUpdateInstantiateConfigProposal(wasmKeeper WasmKeeper, codeSelector return types.NewUpdateInstantiateConfigProposal( simtypes.RandStringOfLength(r, 10), simtypes.RandStringOfLength(r, 10), - []types.AccessConfigUpdate{configUpdate}, + configUpdate, ) } } diff --git a/x/wasm/types/proposal.go b/x/wasm/types/proposal.go index 16eae262de..8aa49ef447 100644 --- a/x/wasm/types/proposal.go +++ b/x/wasm/types/proposal.go @@ -821,7 +821,7 @@ func validateProposalCommons(title, description string) error { func NewUpdateInstantiateConfigProposal( title string, description string, - accessConfigUpdates []AccessConfigUpdate, + accessConfigUpdates ...AccessConfigUpdate, ) *UpdateInstantiateConfigProposal { return &UpdateInstantiateConfigProposal{ Title: title,