Skip to content
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: ListPoolsByDenom using pool.GetPoolDenoms directly #6914

Merged
merged 3 commits into from
Nov 23, 2023
Merged

refactor: ListPoolsByDenom using pool.GetPoolDenoms directly #6914

merged 3 commits into from
Nov 23, 2023

Conversation

levisyin
Copy link
Contributor

@levisyin levisyin commented Nov 22, 2023

Refer to PR #6902, all pool type has implemented GetPoolDenoms(sdk.Context) []string, we can use it to get pool denoms directly in func ListPoolsByDenom

Testing and Verifying

This change is already covered by existing tests, such as TestListPoolsByDenom.

@mattverse mattverse self-assigned this Nov 22, 2023
@pysel pysel added the V:state/compatible/no_backport State machine compatible PR, depends on prior breaks label Nov 23, 2023
Copy link
Member

@pysel pysel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Though CI does not fully pass yet

@levisyin
Copy link
Contributor Author

LGTM! Though CI does not fully pass yet

Just confused about the Tests/e2e CI running result, what I changed should't have an effect on CI IMO 😥

Copy link
Member

@mattverse mattverse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! :)

@mattverse mattverse merged commit d1f6749 into osmosis-labs:main Nov 23, 2023
1 check passed
@levisyin levisyin deleted the refactor/filter-pools-by-denom branch November 23, 2023 08:11
@github-actions github-actions bot mentioned this pull request May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:x/poolmanager V:state/compatible/no_backport State machine compatible PR, depends on prior breaks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants