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: Add MigrationModuleManager to handle migration of upgrade module before other modules (backport #16583) #17370

Merged
merged 4 commits into from
Aug 12, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Aug 11, 2023

This is an automatic backport of pull request #16583 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

… before other modules (#16583)

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
(cherry picked from commit 0c1f6fc)
@mergify mergify bot requested a review from a team as a code owner August 11, 2023 16:10
baseapp/baseapp.go Outdated Show resolved Hide resolved
if err != nil {
return sdk.BeginBlock{}, err
if _, ok := module.(UpgradeModule); !ok {
if err := module.BeginBlock(ctx); err != nil {

Check warning

Code scanning / CodeQL

Panic in BeginBock or EndBlock consensus methods Warning

path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
@julienrbrt julienrbrt self-assigned this Aug 11, 2023
@julienrbrt julienrbrt merged commit 27f5db2 into release/v0.50.x Aug 12, 2023
49 of 50 checks passed
@julienrbrt julienrbrt deleted the mergify/bp/release/v0.50.x/pr-16583 branch August 12, 2023 08:29
julienrbrt added a commit that referenced this pull request Aug 18, 2023
…e module before other modules (backport #16583) (#17370)"

This reverts commit 27f5db2.
@faddat faddat mentioned this pull request Nov 8, 2024
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants