-
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
Moves ValidatePermissionlessPoolCreationEnabled
out of poolmanager module
#6421
Conversation
ValidatePermissionlessPoolCreationEnabled
out of poolmanager module
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.
Nice work!
There is an alternative strategy for bypassing the check by extending ValidatePermissionlessPoolCreationEnabled
API to also take in the sender. However, this LGTM as well.
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 think this change + some tests will need updates prior to merge
Co-authored-by: Roman <[email protected]>
Probably should merge #6420 first, because this is built on top of that atm |
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 once e2e is passing
s.Require().NoError(s.App.ConcentratedLiquidityKeeper.ValidatePermissionlessPoolCreationEnabled(s.Ctx)) | ||
s.Require().True(s.App.ConcentratedLiquidityKeeper.IsPermissionlessPoolCreationEnabled(s.Ctx)) |
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.
It seems that the comment above is outdated.
Permissionless pool creation is now enabled in tests by default:
defaultParams.IsPermissionlessPoolCreationEnabled = true |
Would be great to update it
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
This removes
ValidatePermissionlessPoolCreationEnabled
from the pooltype interfaceWhat is the purpose of the change
Testing and Verifying
Documentation and Release Note
Unreleased
section ofCHANGELOG.md
?Where is the change documented?
x/{module}/README.md
)