Repository navigation
feat(statics): add SUPPORTS_MEMO coin feature - #10123
Conversation
|
|
Consolidates memo feature support into the SDK. TICKET: WCN-655
6bab254 to
2408f5a
Compare
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.
|
@claude review please |
|
Claude finished @mukeshsp's task in 26s —— View job Review of #10123: add
|
Description
Consolidates memo feature support into the SDK.
CoinFeature.SUPPORTS_MEMO = 'supports-memo'(modules/statics/src/base.ts).XLM_FEATURES,XRP_FEATURES,CSPR_FEATURES,DOT_FEATURES,EOS_FEATURES,HBAR_FEATURES,SOL_FEATURES,STX_FEATURES,COSMOS_SIDECHAIN_FEATURES,TON_FEATURES,BERA_FEATURES,ICP_FEATURES,POLYX_FEATURES,CANTON_FEATURES.COSMOS_SIDECHAIN_FEATURES(spread into the_WITH_STAKING,ATOM,INJECTIVE,COREUM,SEI,ZETAandTIAconstants), sokavacosmos,mantraand the deprecatedfetchaiare newly covered.getFilteredFeatures, so they carry the feature; consumers must filter tokens.algoandtempoare deliberately excluded.Issue Number
WCN-655
Type of change
How Has This Been Tested?
From
modules/statics:npx mocha test/unit/coins.ts --grep "Supports Memo Feature"→ 3 passing (feature present on 62 mainnet/testnet coins, present on every non-token cosmos-like coin, absent on btc/tbtc/eth/hteth/algo/tempo).yarn unit-test→ full statics suite green (41,940 passing).yarn build→ tsc passes.Checklist: