Skip to content

fix(statics): drop liquid-staking from weth and eigen - #9423

Merged
nvjsr merged 1 commit into
masterfrom
DEFI-558
Aug 5, 2026
Merged

fix(statics): drop liquid-staking from weth and eigen#9423
nvjsr merged 1 commit into
masterfrom
DEFI-558

Conversation

@nvjsr

@nvjsr nvjsr commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove incorrect CoinFeature.LIQUID_STAKING from WETH_FEATURES and EIGEN_FEATURES (affects weth / tweth / ofcweth / eigen / ofceigen).
  • Keep liquid-staking only on true LSTs (reth-rocket, near:stnear, sol:jsol, sol:stsol + OFC/test mirrors).
  • Expand unit tests to lock correct vs incorrect classification.

WETH is a 1:1 wrap and EIGEN is a protocol/gov token — neither is an LST. These misflags break DeFi AUC / Narval billing when liquid-staking is OR'd with receipt-token (DEFI-558).

eigen still retains STAKING for restaking UI/product flows.

Test plan

  • yarn unit-test --grep 'Liquid Staking' in modules/statics (2 passing)
  • Runtime check: LS count 9; weth/eigen/ofc* variants LS=false; true LSTs LS=true
  • CI green on PR
  • After merge: AMS statics sync so AMS features[] drops liquid-staking on WETH/EIGEN

Ticket: DEFI-558

@nvjsr
nvjsr requested a review from a team as a code owner August 5, 2026 08:43
@linear-code

linear-code Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

DEFI-558

WETH is a wrap, EIGEN is a protocol token — neither is an LST.
Misflags break AUC/Narval when liquid-staking is OR'd with receipt-token.

Ticket: DEFI-558
@nvjsr
nvjsr merged commit 231d24b into master Aug 5, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants