-
Notifications
You must be signed in to change notification settings - Fork 610
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
[Incentives] Refactor createGauge to accomodate for CL gauges #4833
Comments
Is this issue still available, I see we have |
so this issues a suggestion to change this QueryCondition https://github.com/osmosis-labs/osmosis/blob/main/x/pool-incentives/keeper/keeper.go#L111 right now its
which essentially is pretty useless, it was added so that we can skip this logic check (https://github.com/osmosis-labs/osmosis/blob/main/x/incentives/keeper/gauge.go#L100) because we donot really care about the lockup type for CL incentive gauges one of the fix could be to allow |
lmk if that makes sense, happy to explain more if not |
Make sense to me |
I believe this was handled in some of Alpins recent work |
Background
After merging #4526, we pass in dummy variables to
lockuptypes.QueryCondition{}
for CL gauges to pass createGauge function. While we do not use anylockuptypes.QueryCondition{}
parameters we pass the values so that we do not have to modify the lower level createGauge functionSuggested Design
There are couple of ways of fixing this;
createGauge
functionlockuptypes.QueryCondition{}
to be empty increateGauge
functionAcceptance Criteria
The text was updated successfully, but these errors were encountered: