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

chore: adding sdk.Msg impl for ics27 MsgSubmitTx (backport #2135) #2217

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 7, 2022

This is an automatic backport of pull request #2135 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* add protos/rpcs, boilerplate

(cherry picked from commit 41d69d8)
@@ -6,5 +6,5 @@ import (

// ICA Controller sentinel errors
var (
ErrControllerSubModuleDisabled = sdkerrors.Register(SubModuleName, 2, "controller submodule is disabled")
ErrControllerSubModuleDisabled = sdkerrors.Register(SubModuleName, 1, "controller submodule is disabled")
Copy link
Member

@damiannolan damiannolan Sep 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any ideas why this was changed? Isn't 1 reserved? See: https://github.com/cosmos/cosmos-sdk/blob/main/errors/errors.go#L17

Not sure if that's the exact codespace where 1 is taken, but looking at all of our errors.go files in ibc-go we usually start at 2

cc. @colin-axner

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea that's a bug. 1 is reserved for sdk, it'll discard our error messages otherwise

Copy link
Contributor

@colin-axner colin-axner Sep 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch!

@colin-axner colin-axner merged commit 45948d0 into release/v5.1.x Sep 8, 2022
@colin-axner colin-axner deleted the mergify/bp/release/v5.1.x/pr-2135 branch September 8, 2022 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants