diff --git a/pkg/morph/client/util.go b/pkg/morph/client/util.go index 2fec25f5..9aa8a607 100644 --- a/pkg/morph/client/util.go +++ b/pkg/morph/client/util.go @@ -94,6 +94,10 @@ func ArrayFromStackParameter(param sc.Parameter) ([]sc.Parameter, error) { } if param.Type != sc.ArrayType { + if param.Type == sc.AnyType && param.Value == nil { + return nil, nil + } + return nil, errors.Errorf("chain/client: %s is not an array type", param.Type) }