Skip to content

chore: block PYR bridging on mapped and default tokenlists - #843

Merged
py-zoid merged 1 commit into
masterfrom
block/pyr-token
Aug 16, 2026
Merged

chore: block PYR bridging on mapped and default tokenlists#843
py-zoid merged 1 commit into
masterfrom
block/pyr-token

Conversation

@py-zoid

@py-zoid py-zoid commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

What

Tags PYR Token (0x430ef9263e76dae63c84292c3409d61c598e9682) with noDeposit and noWithdraw so it is no longer bridgeable.

List Wrapped tokens tagged
mappedTokens.json pos
defaultTokens.json pos, lxly, agglayer

Why the default list is included

Consumers key tokens by chainId + originTokenAddress, which is identical for this token in both lists. The popular/default list is processed first and its entry takes precedence — the mapped entry is discarded when both are present.

Tagging mappedTokens.json alone would therefore have had no visible effect. The default list is tagged as well so the block actually applies.

All three wrapped tokens on the default list are covered so every bridge route is closed, not just PoS.

Scope

Staging lists (mappedTokensStaging.json, defaultTokensStaging.json) are intentionally left unchanged in this PR.

Verification

  • npm run lint — clean
  • npm run test-all — 3 passing
  • npm run build — regenerates mapped.tokenlist.json and popular.tokenlist.json with the new tags

Note on base branch

Opened against master because both deploy workflows (ecs_prod.yml, deploy_gcp.yaml) trigger on master. The repository default branch is dev, which has diverged from master — this change will not reach dev.

Tag PYR Token (0x430ef9263e76dae63c84292c3409d61c598e9682) with
noDeposit and noWithdraw so it is no longer bridgeable via Portal.

The default (popular) list is tagged as well as the mapped list.
Consumers key tokens by chainId + originTokenAddress and prefer the
popular list entry, discarding the mapped one when both are present,
so tagging the mapped list alone would have had no effect.

All three wrapped tokens on the default list are covered (pos, lxly
and agglayer) so every bridge route is closed, not just PoS.
@py-zoid
py-zoid marked this pull request as ready for review August 16, 2026 11:48
@py-zoid
py-zoid merged commit 670ffbc into master Aug 16, 2026
3 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.

1 participant