-
Notifications
You must be signed in to change notification settings - Fork 637
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
change error text of total escrow migration #3775
change error text of total escrow migration #3775
Conversation
@@ -109,7 +109,7 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { | |||
} | |||
|
|||
if err := cfg.RegisterMigration(types.ModuleName, 2, m.MigrateTotalEscrowForDenom); err != nil { | |||
panic(fmt.Sprintf("failed to migrate total escrow amount from version 2 to 3: %v", err)) | |||
panic(fmt.Sprintf("failed to migrate transfer app from version 2 to 3: %v", err)) | |||
} | |||
|
|||
if err := cfg.RegisterMigration(types.ModuleName, 3, m.MigrateParams); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will update also the error text for this one in a separate PR. Didn't do it here to make backport easier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't it make more sense to be specific about which migration failed? Or is this indicated someplace else?
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3775 +/- ##
=======================================
Coverage 78.75% 78.75%
=======================================
Files 187 187
Lines 12890 12890
=======================================
Hits 10151 10151
Misses 2308 2308
Partials 431 431
|
(cherry picked from commit d7d9fa9)
(cherry picked from commit d7d9fa9) Co-authored-by: Carlos Rodriguez <[email protected]>
Description
A small one... Just noticed that error message did not follow the convention.
closes: #XXXX
Commit Message / Changelog Entry
see the guidelines for commit messages. (view raw markdown for examples)
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
).godoc
comments.Files changed
in the Github PR explorer.Codecov Report
in the comment section below once CI passes.