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,