-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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: Don't error on startup if min-gas-price is empty #9621
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -247,7 +247,9 @@ func startInProcess(ctx *Context, clientCtx client.Context, appCreator types.App | |||||
|
||||||
config := config.GetConfig(ctx.Viper) | ||||||
if err := config.ValidateBasic(); err != nil { | ||||||
return err | ||||||
ctx.Logger.Info("The minimum-gas-prices config in app.toml is set to the empty string. "+ | ||||||
amaury1093 marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we do There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||
"This defaults to 0 in the current version, but will error in the next version "+ | ||||||
"(SDK v0.44). Please explicitly put the desired minimum-gas-prices in your app.toml.") | ||||||
} | ||||||
|
||||||
app := appCreator(ctx.Logger, db, traceWriter, ctx.Viper) | ||||||
|
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'll add this line to the "Unreleased" section in #9592
edit: done