From 57d61c69725dddcf17d8c38a4de9b8dd9210a27d Mon Sep 17 00:00:00 2001 From: Riley Edmunds Date: Wed, 11 Oct 2023 04:39:13 -0500 Subject: [PATCH] calibrate: rm admin gate --- x/stakeibc/types/message_calibrate_delegation.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/x/stakeibc/types/message_calibrate_delegation.go b/x/stakeibc/types/message_calibrate_delegation.go index a1c160c831..5f1ca4d655 100644 --- a/x/stakeibc/types/message_calibrate_delegation.go +++ b/x/stakeibc/types/message_calibrate_delegation.go @@ -6,8 +6,6 @@ import ( errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - - "github.com/Stride-Labs/stride/v15/utils" ) const TypeMsgCalibrateDelegation = "calibrate_delegation" @@ -48,9 +46,6 @@ func (msg *MsgCalibrateDelegation) ValidateBasic() error { if err != nil { return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } - if err := utils.ValidateAdminAddress(msg.Creator); err != nil { - return err - } if len(msg.ChainId) == 0 { return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "chainid is required")