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(x/gov): Return ErrInvalidProposalContent in SubmitProposal when legacy handler returns an error. #13051

Merged
merged 6 commits into from
Aug 26, 2022

Commits on Aug 25, 2022

  1. [13030]: When a legacy gov proposal fails it's handler check, wrap th…

    …e error in a ErrInvalidProposalContent (instead of ErrNoProposalHandlerExists).
    SpicyLemon committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    2076e48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fdbd653 View commit details
    Browse the repository at this point in the history
  3. [13030]: If the error is already a ErrNoProposalHandlerExists, just r…

    …eturn it. Otherwise, wrap it as a ErrInvalidProposalContent.
    SpicyLemon committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    d2b4d74 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b3edb86 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    89f3572 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    638e386 View commit details
    Browse the repository at this point in the history