-
Notifications
You must be signed in to change notification settings - Fork 608
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: taker fee performance refactor #7555
Merged
Merged
Changes from 5 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
9265936
refactor taker fees for performance
czarcas7ic 9c89b04
Merge branch 'main' into adam/taker-fee-performance-refactor
czarcas7ic f84f908
add changelog
czarcas7ic 60d2075
remove unusued func
czarcas7ic 2265841
update taker fee readme
czarcas7ic 3735cbe
keep comm pool funds separate in case of failed swap/distribution
czarcas7ic 5a3ab08
clarify README even more
czarcas7ic d0a7adb
add taker fee staker collector module account
czarcas7ic f64b9b0
clean up
czarcas7ic b3da3a8
Update x/poolmanager/README.md
czarcas7ic bb4d747
Update x/poolmanager/README.md
czarcas7ic c384206
Update x/poolmanager/README.md
czarcas7ic d9e7d6b
Update x/txfees/types/keys.go
czarcas7ic 19a0c45
Update x/poolmanager/README.md
czarcas7ic cf51e75
add comment about epoch coming before staking
czarcas7ic c929e7f
Merge branch 'main' into adam/taker-fee-performance-refactor
czarcas7ic 4304da2
Merge branch 'main' into adam/taker-fee-performance-refactor
czarcas7ic 0ba21a1
abstract telementary
czarcas7ic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -645,17 +645,6 @@ func (k Keeper) TotalLiquidity(ctx sdk.Context) (sdk.Coins, error) { | |
return totalLiquidity, nil | ||
} | ||
|
||
// isDenomWhitelisted checks if the denom provided exists in the list of authorized quote denoms. | ||
// If it does, it returns true, otherwise false. | ||
func isDenomWhitelisted(denom string, authorizedQuoteDenoms []string) bool { | ||
for _, authorizedQuoteDenom := range authorizedQuoteDenoms { | ||
if denom == authorizedQuoteDenom { | ||
return true | ||
} | ||
} | ||
return false | ||
} | ||
|
||
Comment on lines
-669
to
-679
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. No longer checked at time of swap, moved to epoch logic |
||
// nolint: unused | ||
// trackVolume converts the input token into OSMO units and adds it to the global tracked volume for the given pool ID. | ||
// Fails quietly if an OSMO paired pool cannot be found, although this should only happen in rare scenarios where OSMO is | ||
|
Oops, something went wrong.
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.
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.
Good news for other parts of disk size too haha