Repository navigation
feat(chains): add ZKsync Era Testnet (chain 312) - #5266
Merged
Merged
Conversation
Adds ZKsync Era Testnet (chain 312), Matter Labs' EraVM testnet settling on Sepolia.
|
@bxpana is attempting to deploy a commit to the Wevm Team on Vercel. A member of the Team first needs to authorize it. |
🦋 Changeset detectedLatest commit: bb7ca75 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds ZKsync Era Testnet (chain 312), Matter Labs' EraVM testnet settling on Sepolia.
eip155-312(Add ZKsync Era Testnet (chain 312) ethereum-lists/chains#8899) and in the publishedchainid.network/chains.json.chainConfig(formatters, serializers, EIP-712 domain), same aszksyncSepoliaTestnet.https://rpc.zksync-era-testnet.zksync.devand WebSocketwss://rpc.zksync-era-testnet.zksync.dev/wsboth returneth_chainId0x138.zks_L1ChainIdreturns0xaa36a7(Sepolia) and the base token is ETH.https://block-explorer.zksync-era-testnet.zksync.dev, with its Etherscan-style API athttps://block-explorer-api.zksync-era-testnet.zksync.dev/api(getblocknobytimereturns status1).0xcA11bde05977b3631167028862bE2a173976CA11, verified on the explorer (src/Multicall3.sol:Multicall3) with bytecode identical to mainnet's.blockCreated: 10618is the block of its creation transaction (eth_getCodeis empty at 10617 and non-empty at 10618).Checks run locally:
pnpm test:chains --run -t "ZKsync Era Testnet": 4 passed (http, webSocket, blockExplorer.url, blockExplorer.apiUrl)tsc -p tsconfig.build.json --noEmit: passesbiome checkon the changed files: no issuessize-limitfor theviem/chainsentries: within limitsmulticallagainst the RPC throughzksyncEraTestnetreturnsgetChainId312