-
Notifications
You must be signed in to change notification settings - Fork 607
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
CL: Update x/concentrated-liquidity to refer to swap fee as spread factor #5268
Conversation
Thanks for working on this @AlpinYukseloglu . There are a few cases where tx fee is renamed to spread reward. Could you please confirm that only swap fees are renamed to spread rewards? |
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.
Part way through
RIP merge conflict, what was the commit that made all these conflicts 🤔 |
Attempted to fix merge conflict, but in order to do so we need to come across a consensus for fee tokens. |
spread reward Please make sure that tx fee is not renamed anywhere when you're updating |
@AlpinYukseloglu I'm going to be committing nits directly as I review this so that we can merge this in ASAP and avoid more conflicts |
I'm addressing latest comments now and should be good to merge |
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.
LGTM, thank you @AlpinYukseloglu
Sorry for the PR breaks to others but I think it's easier to resolve many small PRs individually instead of this one. As a result, merging this |
…ctor (#5268) * rename fee collection * further renames * rename fees files to spread factor * roll back accidental tx fee renames * pull fees files from main to maintain history * rename fees files * redo renaming on core files * rename swap strategy fee files * regenerate proto * undo tx fee changes caught during review * clean up readme * fix another change * regenerate proto checksum * fix grpc query gen * make run-querygen * Apply suggestions from code review * Update x/concentrated-liquidity/types/codec.go * revert for gauge fee * comment fix --------- Co-authored-by: Roman <[email protected]>
Closes: #5243
What is the purpose of the change
This PR finishes renaming all uses of fees in the CL module to spread factor or spread rewards as appropriate, including renaming messages and the
fees.go
andfees_test.go
files.Testing and Verifying
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note
Unreleased
section ofCHANGELOG.md
?Where is the change documented?
x/{module}/README.md
)