Skip to content

chore: remove Ternoa chain from agglayer token list#837

Merged
py-zoid merged 1 commit into
masterfrom
chore/remove-ternoa-chain
Jul 3, 2026
Merged

chore: remove Ternoa chain from agglayer token list#837
py-zoid merged 1 commit into
masterfrom
chore/remove-ternoa-chain

Conversation

@py-zoid

@py-zoid py-zoid commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

What

Ternoa has spun down their CDK chain, so it is being retired from the agglayer token list.

  • Removed the Ternoa chain entry (chainId 752025, networkId 13) from src/metadata/agglayer.json.
  • Removed the 11 Ternoa-resident token entries (chainId 752025) from src/tokens/agglayer.json.

Built agglayer.tokenlist.json now has 10 chains / 147 tokens, with no Ternoa references.

Why remove the tokens too, not just the chain

Removing the chain entry while leaving tokens that reference chainId 752025 would leave orphaned tokens pointing at a chain no longer present in the list — the case most likely to break consumers (e.g. a UI doing chains.find(c => c.chainId === token.chainId)). Removing both together keeps the list internally consistent.

Verified no token on any other chain references Ternoa as an origin/wrapped target (originTokenNetwork: 13 / eip155:752025 → 0 matches), so no cross-chain mappings are affected.

agglayer-ui impact

Confirmed this does not break agglayer-ui:

  • It fetches the published agglayer.tokenlist.json — it simply stops offering Ternoa as a bridge option.
  • The ternoa reference in agglayer-ui (wagmiConfig.ts, wallet.tsx) is an independent viem/wagmi/chains chain definition, unrelated to the token list; a follow-up cleanup PR there can drop it to fully retire Ternoa.

Verification

  • npm run build succeeds
  • npm test passes (3/3)

Out of scope

The mapped, popular, and *Staging lists still reference Ternoa (networkId 13); those feed the classic PoS/zkEVM bridge, not agglayer-ui, and can be handled separately if full retirement is desired.

Ternoa has spun down their CDK chain, so it is being retired from the
agglayer token list. Removes the Ternoa chain entry (chainId 752025,
networkId 13) from the chains metadata along with its 11 chain-resident
token entries.

Removing the chain and its tokens together avoids leaving orphaned
tokens that reference a chain no longer present in the list, which is
the case that would break consumers such as agglayer-ui. No token on
any other chain references Ternoa as an origin/wrapped target, so no
cross-chain mappings are affected.
@py-zoid py-zoid force-pushed the chore/remove-ternoa-chain branch from d4f2b1e to fbbea76 Compare July 3, 2026 13:28
@py-zoid py-zoid marked this pull request as ready for review July 3, 2026 13:28
@py-zoid py-zoid merged commit 8c31d07 into master Jul 3, 2026
3 checks passed
@py-zoid py-zoid deleted the chore/remove-ternoa-chain branch July 3, 2026 13:29
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.

2 participants