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

perform a no-op on redundant relay messages #268

Merged
merged 9 commits into from
Jul 20, 2021
Prev Previous commit
Next Next commit
fix merge conflict
  • Loading branch information
colin-axner committed Jul 19, 2021
commit d7443a52d35f26b55476de1bb1d64bb3774090aa
5 changes: 4 additions & 1 deletion modules/core/04-channel/types/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ var (
// ORDERED channel error
ErrPacketSequenceOutOfOrder = sdkerrors.Register(SubModuleName, 21, "packet sequence is out of order")

// Antehandler error
ErrRedundantTx = sdkerrors.Register(SubModuleName, 22, "packet messages are redundant")

// Perform a no-op on the current Msg
ErrNoOpMsg = sdkerrors.Register(SubModuleName, 22, "message is redundant, no-op will be performed")
ErrNoOpMsg = sdkerrors.Register(SubModuleName, 23, "message is redundant, no-op will be performed")
)
You are viewing a condensed version of this merge commit. You can view the full changes here.