Skip to content

fix(statics): derive EVM token features from ERC20 support for AMS - #9737

Merged
prithvishet2503 merged 1 commit into
masterfrom
CECHO-2177
Sep 15, 2026
Merged

prithvishet2503 merged 1 commit into
masterfrom
CECHO-2177

Conversation

@prithvishet2503

Copy link
Copy Markdown
Contributor

networkFeatureMapForTokens.ts required every EVM chain family to be hand-added before AMS could onboard ERC20 tokens for it, silently skipping any unlisted family (e.g. baseeth). getNetworkFeatures() now falls back to a shared EVM_TOKEN_FEATURES set for any family whose base coin has CoinFeature.SUPPORTS_ERC20, registered from coins.ts via a callback to avoid a circular import with allCoinsAndTokens.ts.

TICKET: CECHO-2177

…boarding

networkFeatureMapForTokens.ts required every EVM chain family to be
hand-added before AMS could onboard ERC20 tokens for it, silently
skipping any unlisted family (e.g. baseeth). getNetworkFeatures() now
falls back to a shared EVM_TOKEN_FEATURES set for any family whose
base coin has CoinFeature.SUPPORTS_ERC20, registered from coins.ts via
a callback to avoid a circular import with allCoinsAndTokens.ts.

TICKET: CECHO-2177
@linear-code

linear-code Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

CECHO-2177

@prithvishet2503
prithvishet2503 marked this pull request as ready for review September 15, 2026 10:10
@prithvishet2503
prithvishet2503 requested a review from a team as a code owner September 15, 2026 10:10
@github-actions

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

@0xPrabh 0xPrabh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@prithvishet2503
prithvishet2503 merged commit c95500e into master Sep 15, 2026
26 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.

4 participants