Skip to content

feat(statics): enable ZAMA staking metadata (SI-609) - #9623

Open
Vijay-Jagannathan wants to merge 1 commit into
masterfrom
SI-609-zama-staking-statics
Open

feat(statics): enable ZAMA staking metadata (SI-609)#9623
Vijay-Jagannathan wants to merge 1 commit into
masterfrom
SI-609-zama-staking-statics

Conversation

@Vijay-Jagannathan

@Vijay-Jagannathan Vijay-Jagannathan commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Enable staking metadata for the ZAMA assets used as staking inputs.

Changes

  • Add CoinFeature.STAKING to the newly onboarded Hoodi hteth:zamamock entry (ZAMAMock, contract 0x58713eca04e01114480b30be8ca0d8838f342a55).
  • Keep the five onboarded stZAMA LST entries as receipt/share assets without CoinFeature.STAKING; their balances are already on-chain share balances.
  • Keep ERC-7984 confidential ZAMA tokens excluded from staking.
  • Add focused positive and negative statics tests.

The ZAMAMock test asserts the registered asset key, name, 18 decimals, Hoodi network, contract address, and staking feature. CoinFeature.STAKING is reserved for assets whose delegated underlying balance is fetched from staking-service. Staking-service reports delegated ZAMA, not operator-specific stZAMA shares.

Test

  • yarn unit-test test/unit/base.ts --grep "ZAMA staking feature" — 4 passing
  • yarn build from modules/statics — passed
  • Changed-file ESLint — passed

Ticket: SI-609

@Vijay-Jagannathan
Vijay-Jagannathan requested review from a team as code owners September 1, 2026 16:30
@linear-code

linear-code Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

SI-609

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

⚠️ Unit tests are failing on Node 26.x (Current release line, non-blocking). This is not an LTS version yet, so it does not block merge, but it signals an incompatibility to fix before Node 26.x becomes LTS.

View run

@Vijay-Jagannathan
Vijay-Jagannathan marked this pull request as draft September 1, 2026 16:40
@Vijay-Jagannathan
Vijay-Jagannathan force-pushed the SI-609-zama-staking-statics branch 3 times, most recently from b8ce580 to bfe6b09 Compare September 7, 2026 04:26
mukeshsp
mukeshsp previously approved these changes Sep 7, 2026
Add staking metadata to mainnet ZAMA and Hoodi ZAMAMock. Keep operator

stZAMA receipt shares excluded and assert the registered Hoodi metadata.

Ticket: SI-609
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