Skip to content

UserStatsPerPool.currentLiquidityStaked (per-user CL) under-counts 12-31% #916

Description

@FonsSicca

Source: data-quality audit of deployment 8fcf9a8 (2026-07-07). Full findings: Notion audit.

What to build

Close the per-user CL staked-liquidity attribution gap. UserStatsPerPool.currentLiquidityStaked (and its USD) under-counts by 12 to 31% for CL positions, and lags up to one hour even for active stakers. The pool-level staked-USD lockstep is already fixed (#890, #899); this is the residual on the per-user rows. The root cause is not yet fully pinned, so the first step is to characterize where the per-user sum diverges from the pool-level total.

Labeled needs-triage pending that investigation.

Acceptance criteria

  • Root cause of the 12 to 31% per-user under-count identified.
  • Per-user CL currentLiquidityStaked reconciles with the pool-level staked total within tolerance.
  • The up-to-one-hour active-staker lag is reduced or documented.

Blocked by

None — can start immediately (investigation required to scope the fix).

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageMaintainer needs to evaluate this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions