Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat(server/v2): add min gas price and check with tx fee #21173
feat(server/v2): add min gas price and check with tx fee #21173
Changes from 5 commits
39d9a69
a00a866
1fe5674
36e4aed
bc8ad35
d943ad8
68f5d6f
b1593b5
650bfef
a1d39b7
f5c1272
e68de22
7cad0b8
a6e7be5
25528b0
2bdda62
84fed9e
0499d82
dc59cae
ca0a801
aad3d1d
3157565
3680c95
44a7c0f
76cbd83
166f17e
98d5914
93bebd4
50e95fe
e8365f5
331731c
5071eac
ba0d199
8d9dc75
8e966e6
2c3b9d8
46cef74
0c5f774
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Ensure proper error handling in
GetMinGasPrices
.The
GetMinGasPrices
method is well-implemented, but consider handling errors more gracefully rather than panicking.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.
Let's maybe delete this to stay consistent. IMHO we should just have good defaults, so we don't this this.
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.
Do you mean we can allow config even with minimum-gas-prices as empty?
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.
Nah the default config would just give 0stake as of today.
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.
Can we drop the
Main
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.
Can the default config be
0stake
?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.
We will be setting
0stake
in simapp/v2 cmd. I think we cannot set it here as denom might be different for different networks. WDYT?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.
That's true but they can overwrite it then right? This just avoids having an empty value by default