From 29a9f9bc0eb740cdfc456e580be13ee6a6fe4d4b Mon Sep 17 00:00:00 2001 From: Artur Troian Date: Sat, 20 Apr 2024 11:27:39 -0400 Subject: [PATCH] chore(go/dtypes): add deployment depositor error (#154) Signed-off-by: Artur Troian --- go/node/deployment/v1beta3/errors.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/go/node/deployment/v1beta3/errors.go b/go/node/deployment/v1beta3/errors.go index ac9f4751..55a61678 100644 --- a/go/node/deployment/v1beta3/errors.go +++ b/go/node/deployment/v1beta3/errors.go @@ -27,6 +27,7 @@ const ( errInvalidDeposit errInvalidIDPath errInvalidParam + errInvalidDeploymentDepositor ) var ( @@ -75,4 +76,6 @@ var ( ErrInvalidIDPath = sdkerrors.Register(ModuleName, errInvalidIDPath, "ID path invalid") // ErrInvalidParam indicates an invalid chain parameter ErrInvalidParam = sdkerrors.Register(ModuleName, errInvalidParam, "parameter invalid") + // ErrInvalidDeploymentDepositor indicates an invalid chain parameter + ErrInvalidDeploymentDepositor = sdkerrors.Register(ModuleName, errInvalidDeploymentDepositor, "invalid deployment depositor") )