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

[VS Incentives]: Implement initGaugeInfo helper #6401

Closed
Tracked by #6057
AlpinYukseloglu opened this issue Sep 14, 2023 · 0 comments · Fixed by #6523
Closed
Tracked by #6057

[VS Incentives]: Implement initGaugeInfo helper #6401

AlpinYukseloglu opened this issue Sep 14, 2023 · 0 comments · Fixed by #6523
Assignees
Labels
F: volume-splitting feat: Volume-splitting incentives

Comments

@AlpinYukseloglu
Copy link
Contributor

Background

Create test helper initGaugeInfo that initializes internal group gauge info to be used in CreateGauge. All weights should be initialized to zero since they will later be synced by splitting policy using syncGroupGaugeWeights

Suggested Design

// initGaugeInfo takes in a list of pool IDs and a splitting policy and returns a InternalGaugeInfo struct with weights initialized to zero.
func (k Keeper) initGaugeInfo(ctx sdk.Context, poolIds []uint64, splittingPolicy types.SplittingPolicy) (types.InternalGaugeInfo, error) {
}

Acceptance Criteria

  • Function is well tested
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F: volume-splitting feat: Volume-splitting incentives
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants