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(cast): update polygon testnet chain and add polygon zkevm chains #9803

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

leovct
Copy link
Contributor

@leovct leovct commented Jan 31, 2025

Motivation

  • Add new Polygon PoS testnet chain (amoy) and remove the deprecated one (mumbai).
  • Add two Polygon zkevm chains (mainnet and cardona testnet).

Polygon PoS Amoy Testnet

$ cast block 0 --rpc-url https://rpc-amoy.polygon.technology/ --json | jq -r '.hash'
0x7202b2b53c5a0836e773e319d18922cc756dd67432f9a1f65352b61f4406c697

For reference: https://www.okx.com/web3/explorer/amoy/block/0

Polygon zkEVM Mainnet

$ cast block 0 --rpc-url https://zkevm-rpc.com --json | jq -r '.hash'
0x81005434635456a16f74ff7023fbe0bf423abbc8a8deb093ffff455c0ad3b741

For reference: https://zkevm.polygonscan.com/block/0

Polygon zkEVM Cardona Testnet

$ cast block 0 --rpc-url https://rpc.cardona.zkevm-rpc.com --json | jq -r '.hash'
0x676c1a76a6c5855a32bdf7c61977a0d1510088a4eeac1330466453b3d08b60b9

For reference: https://cardona-zkevm.polygonscan.com/block/0

@leovct leovct marked this pull request as ready for review January 31, 2025 14:50
@leovct leovct changed the title feat: add polygon-amoy chain and remove polygon-mumbai chain feat(cast): update polygon testnet chain and add polygon zkevm chains Jan 31, 2025
Copy link
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

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

Makes sense! Thanks

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

rip mumbai

@mattsse mattsse merged commit 14e09e3 into foundry-rs:master Jan 31, 2025
22 checks passed
@grandizzy grandizzy added T-feature Type: feature C-cast Command: cast labels Jan 31, 2025
@leovct leovct deleted the feat/add-polygon-amoy-chain branch January 31, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cast Command: cast T-feature Type: feature
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

4 participants