Skip to content

How to configure the L2 ChainID to not use the default 1001? #2146

Answered by ToniRamirezM
bap2pecs asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

The L2ChainID is read by the node from the zkEVM Smart Contract. So it is not directly configurable by config files.

For example in our Testnet you can get the chainID by reading it from the contract:

https://goerli.etherscan.io/address/0xa997cfD539E703921fD1e3Cf25b4c241a27a4c7A#readProxyContract

I hope this helps.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@avenbreaks
Comment options

Answer selected by bap2pecs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants