Skip to content

Commit

Permalink
calibrate: rm admin gate
Browse files Browse the repository at this point in the history
  • Loading branch information
riley-stride committed Oct 11, 2023
1 parent 753bdce commit 57d61c6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions x/stakeibc/types/message_calibrate_delegation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 57d61c6

Please sign in to comment.