Skip to content

Commit

Permalink
Merge pull request #391 from j75689/tmp/v0.26.6
Browse files Browse the repository at this point in the history
fix: disable create/edit side chain validator
  • Loading branch information
unclezoro authored Mar 27, 2024
2 parents 68b5d04 + d4116b3 commit 4f821c1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions x/stake/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,17 @@ func NewHandler(k keeper.Keeper, govKeeper gov.Keeper) sdk.Handler {
return handleMsgUndelegate(ctx, msg, k)
// case MsgSideChain
case types.MsgCreateSideChainValidator:
return handleMsgCreateSideChainValidator(ctx, msg, k)
return sdk.ErrMsgNotSupported("Temporarily unavailable").Result()
// return handleMsgCreateSideChainValidator(ctx, msg, k)
case types.MsgEditSideChainValidator:
return handleMsgEditSideChainValidator(ctx, msg, k)
return sdk.ErrMsgNotSupported("Temporarily unavailable").Result()
// return handleMsgEditSideChainValidator(ctx, msg, k)
case types.MsgCreateSideChainValidatorWithVoteAddr:
return handleMsgCreateSideChainValidatorWithVoteAddr(ctx, msg, k)
return sdk.ErrMsgNotSupported("Temporarily unavailable").Result()
// return handleMsgCreateSideChainValidatorWithVoteAddr(ctx, msg, k)
case types.MsgEditSideChainValidatorWithVoteAddr:
return handleMsgEditSideChainValidatorWithVoteAddr(ctx, msg, k)
return sdk.ErrMsgNotSupported("Temporarily unavailable").Result()
// return handleMsgEditSideChainValidatorWithVoteAddr(ctx, msg, k)
case types.MsgSideChainDelegate:
return handleMsgSideChainDelegate(ctx, msg, k)
case types.MsgSideChainRedelegate:
Expand Down

0 comments on commit 4f821c1

Please sign in to comment.