Skip to content

fix(statics): add LIQUID_STAKING feature to HypeEVM staking tokens#8787

Closed
bitgo-ai-agent-dev[bot] wants to merge 1 commit into
masterfrom
dinshawkothari/cecho-739-hypeevm-liquid-staking-feature
Closed

fix(statics): add LIQUID_STAKING feature to HypeEVM staking tokens#8787
bitgo-ai-agent-dev[bot] wants to merge 1 commit into
masterfrom
dinshawkothari/cecho-739-hypeevm-liquid-staking-feature

Conversation

@bitgo-ai-agent-dev
Copy link
Copy Markdown

Summary

  • Add CoinFeature.LIQUID_STAKING to hypeevm:hwhype (Hyperwave HYPE) and hypeevm:khype (Kinetiq Staked HYPE) token definitions
  • Without this flag, the backend cannot identify these as liquid staking derivatives and fails to correlate the HYPE debit with the hwHYPE/kHYPE credit during a pending approval, causing wallet balance to appear doubled in the UI
  • OFC counterparts (ofchypeevm:hwhype, ofchypeevm:khype) automatically inherit the feature via getFilteredFeatures in ofc.ts — no separate change needed
  • Also adds DEFAULT_FEATURES_EXCLUDE_SINGAPORE to hwhype for consistency with khype (both are staking products excluded from Singapore custody)

Test plan

  • Verify hypeevm:hwhype and hypeevm:khype have CoinFeature.LIQUID_STAKING (new unit tests added)
  • Verify ofchypeevm:hwhype and ofchypeevm:khype inherit CoinFeature.LIQUID_STAKING (new unit tests added)
  • Run yarn run unit-test --scope @bitgo/statics — all 28,319 tests pass
  • End-to-end: create a HypeEVM staking transaction (HYPE → hwHYPE or kHYPE), leave it in pending approval, verify wallet balance is no longer doubled

Fixes: CECHO-739

🤖 Generated with Ralph

Add CoinFeature.LIQUID_STAKING to hypeevm:hwhype (Hyperwave HYPE) and
hypeevm:khype (Kinetiq Staked HYPE). Without this flag, the backend
cannot identify these as liquid staking derivatives and fails to link
the HYPE debit with the hwHYPE/kHYPE credit during pending approval,
causing the wallet balance to appear doubled in the UI.

The OFC counterparts (ofchypeevm:hwhype, ofchypeevm:khype) inherit
the feature automatically via getFilteredFeatures in ofc.ts.

Also adds DEFAULT_FEATURES_EXCLUDE_SINGAPORE to hwhype for consistency
with khype, since both are staking products excluded from Singapore
custody.

Ticket: CECHO-739

Co-Authored-By: Claude Opus 4.7 <[email protected]>
Session-Id: 6e731a38-0e23-44db-9371-e3fcaf8e30fc
Task-Id: 734ee077-e571-4848-bee2-4cbf7ed7921c
@bitgo-ai-agent-dev bitgo-ai-agent-dev Bot requested a review from a team as a code owner May 18, 2026 07:37
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 18, 2026

CECHO-739

@bitgo-ai-agent-dev bitgo-ai-agent-dev Bot force-pushed the dinshawkothari/cecho-739-hypeevm-liquid-staking-feature branch from 114c8e9 to 622ab3b Compare May 18, 2026 07:37
@DinshawKothari
Copy link
Copy Markdown
Contributor

Not required.

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.

1 participant