Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable create/edit side chain validator #391

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading