From b1afbc9b2a68df08026be43d8ffbaf5e31c5bb6d Mon Sep 17 00:00:00 2001 From: jsvisa Date: Wed, 23 Oct 2024 14:46:46 +0800 Subject: [PATCH] chain-operators: wrong Deploy.s.sol file path Signed-off-by: jsvisa --- pages/builders/chain-operators/deploy/smart-contracts.mdx | 4 ++-- pages/builders/chain-operators/tutorials/create-l2-rollup.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/builders/chain-operators/deploy/smart-contracts.mdx b/pages/builders/chain-operators/deploy/smart-contracts.mdx index 598e8c1d0..2a26e2f10 100644 --- a/pages/builders/chain-operators/deploy/smart-contracts.mdx +++ b/pages/builders/chain-operators/deploy/smart-contracts.mdx @@ -44,7 +44,7 @@ the outputs inside [`snapshots/state-diff/`](https://github.com/ethereum-optimis Run the deployment with state diffs by executing: ```bash -forge script -vvv scripts/Deploy.s.sol:Deploy --sig 'runWithStateDiff()' --rpc-url $ETH_RPC_URL --broadcast --private-key $PRIVATE_KEY +forge script -vvv scripts/deploy/Deploy.s.sol:Deploy --sig 'runWithStateDiff()' --rpc-url $ETH_RPC_URL --broadcast --private-key $PRIVATE_KEY ``` ### Execution @@ -71,7 +71,7 @@ shared SuperchainConfig contract. ``` DEPLOYMENT_OUTFILE=deployments/artifact.json \ DEPLOY_CONFIG_PATH= \ - forge script scripts/Deploy.s.sol:Deploy \ + forge script scripts/deploy/Deploy.s.sol:Deploy \ --broadcast --private-key $PRIVATE_KEY \ --rpc-url $ETH_RPC_URL ``` diff --git a/pages/builders/chain-operators/tutorials/create-l2-rollup.mdx b/pages/builders/chain-operators/tutorials/create-l2-rollup.mdx index b94ee8fd5..93b2e978f 100644 --- a/pages/builders/chain-operators/tutorials/create-l2-rollup.mdx +++ b/pages/builders/chain-operators/tutorials/create-l2-rollup.mdx @@ -418,7 +418,7 @@ Once you've configured your network, it's time to deploy the L1 contracts necess {

Deploy the L1 contracts

} ```bash -forge script scripts/Deploy.s.sol:Deploy --private-key $GS_ADMIN_PRIVATE_KEY --broadcast --rpc-url $L1_RPC_URL --slow +forge script scripts/deploy/Deploy.s.sol:Deploy --private-key $GS_ADMIN_PRIVATE_KEY --broadcast --rpc-url $L1_RPC_URL --slow ```