Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade from MATIC to POL on polygon amoy testnet (fixes #2966) #2968

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

roylines
Copy link
Contributor

@roylines roylines commented Nov 5, 2024

polygon has upgraded from the MATIC token to the POL token (see details here: https://polygon.technology/blog/matic-to-pol-migration-is-now-live-everything-you-need-to-know).

A previous pull request (#2698) made this change in the polygon mainnet, but the amoy testnet still refers to the deprecating MATIC token. This code change upgrades the amoy testnet in the same way.

See discussion here: #2966
fixes #2966


PR-Codex overview

This PR updates the native currency for the Polygon Amoy chain from MATIC to POL.

Detailed summary

  • Updated the nativeCurrency from:
    • { name: 'MATIC', symbol: 'MATIC', decimals: 18 }
    • to { name: 'POL', symbol: 'POL', decimals: 18 } in src/chains/definitions/polygonAmoy.ts.
  • Added a note in .changeset/pink-pumpkins-bake.md indicating the change.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Nov 5, 2024

@roylines is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

changeset-bot bot commented Nov 5, 2024

🦋 Changeset detected

Latest commit: f64e2d0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jxom jxom merged commit e8a79e8 into wevm:main Nov 5, 2024
2 of 3 checks passed
@github-actions github-actions bot mentioned this pull request Nov 5, 2024
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