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

How to set L2_CHAIN_ID before deploying L2 using Custom Gas Token #10448

Closed
starlzy opened this issue May 8, 2024 · 1 comment
Closed

How to set L2_CHAIN_ID before deploying L2 using Custom Gas Token #10448

starlzy opened this issue May 8, 2024 · 1 comment

Comments

@starlzy
Copy link

starlzy commented May 8, 2024

CONTRACT_ADDRESSES_PATH=deployments/artifact.json
DEPLOY_CONFIG_PATH=<PATH_TO_MY_DEPLOY_CONFIG>
STATE_DUMP_PATH=<PATH_TO_WRITE_L2_ALLOCS>
forge script scripts/L2Genesis.s.sol:L2Genesis
--sig 'runWithStateDump()' --chain-id $L2_CHAIN_ID

@tynes
Copy link
Contributor

tynes commented May 8, 2024

The L2 chain id is pulled from the deploy config, see here

@tynes tynes closed this as completed May 20, 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

No branches or pull requests

2 participants