You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon pool creation, each supported uptime should have one pool-wide accumulator initialized to zero.
Suggested Design
Track an []sdk.Dec of accumulators, initialized with len(SupportedUptimes) ones upon pool creation
Reserve accumulator value of zero for positions who are not eligible for the uptime rewards (e.g. if a position's accum value for the 1 week uptime is 0, this is considered "uninitialized")
Alternatively: make the accumulator API work for this setup
Acceptance Criteria
New and existing CL tests pass
The text was updated successfully, but these errors were encountered:
Background
Upon pool creation, each supported uptime should have one pool-wide accumulator initialized to zero.
Suggested Design
[]sdk.Dec
of accumulators, initialized withlen(SupportedUptimes)
ones upon pool creationAlternatively: make the accumulator API work for this setup
Acceptance Criteria
The text was updated successfully, but these errors were encountered: