-
Notifications
You must be signed in to change notification settings - Fork 690
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
refactor global fee zero coins #2327
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Improve code readability
Co-authored-by: yaruwangway <[email protected]>
Co-authored-by: yaruwangway <[email protected]>
Co-authored-by: yaruwangway <[email protected]>
Co-authored-by: yaruwangway <[email protected]>
Co-authored-by: yaruwangway <[email protected]>
Co-authored-by: yaruwangway <[email protected]>
Co-authored-by: yaruwangway <[email protected]>
Signed-off-by: Yaru Wang <[email protected]>
yaruwangway
requested review from
alexanderbez,
zmanian,
crodriguezvega,
jackzampolin,
mmulji-ic,
glnro,
jtremback,
mpoke,
sainoe,
MSalopek and
shaspitz
as code owners
April 3, 2023 12:09
* chore(deps): bump github.com/golangci/golangci-lint (#2319) Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.51.2 to 1.52.1. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](golangci/golangci-lint@v1.51.2...v1.52.1) --- updated-dependencies: - dependency-name: github.com/golangci/golangci-lint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marius Poke <[email protected]> Co-authored-by: Milan Mulji <[email protected]> * chore(deps): bump github.com/docker/docker (#2365) Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.19+incompatible to 20.10.24+incompatible. - [Release notes](https://github.com/docker/docker/releases) - [Commits](moby/moby@v20.10.19...v20.10.24) --- updated-dependencies: - dependency-name: github.com/docker/docker dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Removed trust node in docs (#2359) * update ditrosless image url in Dockerfiles * nits --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marius Poke <[email protected]> Co-authored-by: Milan Mulji <[email protected]>
LGTM |
sainoe
approved these changes
Apr 6, 2023
mmulji-ic
reviewed
Apr 12, 2023
mmulji-ic
reviewed
Apr 12, 2023
x/globalfee/ante/fee.go
Outdated
|
||
nonZeroCoinFeesReq, zeroCoinFeesDenomReq := splitFees(combinedFeeRequirement) | ||
|
||
// feeCoinsNoZeroDenom is feeCoins after removing the coins whose denom is zero coins' denom in combinedFeeRequirement |
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 find this comment confusing and unnecessary -> if you want to include, should read something like:
contains non-zero denominations from the combinedFeeRequirement
mmulji-ic
reviewed
Apr 12, 2023
mmulji-ic
reviewed
Apr 12, 2023
mmulji-ic
reviewed
Apr 12, 2023
mmulji-ic
reviewed
Apr 12, 2023
mmulji-ic
approved these changes
Apr 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
closes: #2351
proposal 2 in issue #2351 is implemented in this PR.