Repository navigation
feat(statics): enable CoinFeature.STAKING on tmon (SI-2320) - #10131
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
ReviewThe change itself is small and correct: it adds Internal information leakage (please fix before merge)
Suggestions
Questions
No security or cryptographic concerns. |
|
|
Adds STAKING to tmon (Testnet Monad) so wallet-platform balance services and bitgo-ui treat Monad testnet as staking-capable. Mainnet mon is left unchanged pending tmon QA. TICKET: SI-2320
696b0c8 to
42fab82
Compare
|
@claude review |
|
Claude finished @damodarnaik699's task in 19s —— View job ReviewThe change is correct and minimal. Earlier automated review
Answer to the open question: SDK code paths that gate on
Suggestions (non-blocking)
The Node 27-nightly failure is marked experimental and non-blocking. It looks unrelated to this change. LGTM from a code standpoint. |
|
Addressed in 42fab82:
Kept the On the question about |
Summary
Add
CoinFeature.STAKINGtotmon(Testnet Monad) so wallet-platform balance services and bitgo-ui treat Monad testnet as staking-capable.Context
CoinFeature.STAKINGon the coin is what the platform reads to decide whether staking is available for a coin. Without it, staking stays hidden for Monad testnet.tmonwas declared with the shared EVM feature set plus the Monad-specific flags, but noSTAKING.Changes
modules/statics/src/allCoinsAndTokens.ts:tmonnow also carriesCoinFeature.STAKING. Existing features are unchanged.modules/statics/test/unit/base.ts: newMonad staking featureblock — assertstmonexposesSTAKINGand keeps its existing features, and assertsmondoes not exposeSTAKING.Mainnet
monis intentionally unchanged (out of scope for SI-2320).Test
yarn unit-testinmodules/statics: 41942 passingmocha --grep "Monad staking feature": 2 passing (fails before the source change, passes after)yarn check-fmtandeslint: cleanTICKET: SI-2320