From a7b4b140b29532e5b134295034aa56c426acd147 Mon Sep 17 00:00:00 2001 From: Richard Hua Date: Wed, 12 Jun 2024 21:15:27 -0700 Subject: [PATCH 1/2] Fix artifacts in tutorial according to https://github.com/ethereum-optimism/optimism/issues/10114 --- .../chain-operators/tutorials/create-l2-rollup.mdx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pages/builders/chain-operators/tutorials/create-l2-rollup.mdx b/pages/builders/chain-operators/tutorials/create-l2-rollup.mdx index df1c2effe..d11b23338 100644 --- a/pages/builders/chain-operators/tutorials/create-l2-rollup.mdx +++ b/pages/builders/chain-operators/tutorials/create-l2-rollup.mdx @@ -475,12 +475,6 @@ If the same `IMPL_SALT` is used to deploy the same contracts twice, the second d **You can generate a new `IMPL_SALT` by running `direnv allow` anywhere in the Optimism Monorepo.** -{

Generate contract artifacts

} - -```bash -forge script scripts/Deploy.s.sol:Deploy --sig 'sync()' --rpc-url $L1_RPC_URL -``` - ## Generate the L2 config files @@ -508,7 +502,7 @@ Now you'll generate the `genesis.json` and `rollup.json` files within the `op-no ```bash go run cmd/main.go genesis l2 \ --deploy-config ../packages/contracts-bedrock/deploy-config/getting-started.json \ - --deployment-dir ../packages/contracts-bedrock/deployments/getting-started/ \ + --deployment-dir ../packages/contracts-bedrock/deployments/sepolia/ \ --outfile.l2 genesis.json \ --outfile.rollup rollup.json \ --l1-rpc $L1_RPC_URL From 1a81399d366ba584043f6788b42b73900223f8a5 Mon Sep 17 00:00:00 2001 From: Richard Hua Date: Wed, 12 Jun 2024 21:56:37 -0700 Subject: [PATCH 2/2] Follow the fix in https://github.com/ethereum-optimism/developers/discussions/354#discussioncomment-9140745 --- pages/builders/chain-operators/tutorials/create-l2-rollup.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/builders/chain-operators/tutorials/create-l2-rollup.mdx b/pages/builders/chain-operators/tutorials/create-l2-rollup.mdx index d11b23338..ef92bb63a 100644 --- a/pages/builders/chain-operators/tutorials/create-l2-rollup.mdx +++ b/pages/builders/chain-operators/tutorials/create-l2-rollup.mdx @@ -502,7 +502,7 @@ Now you'll generate the `genesis.json` and `rollup.json` files within the `op-no ```bash go run cmd/main.go genesis l2 \ --deploy-config ../packages/contracts-bedrock/deploy-config/getting-started.json \ - --deployment-dir ../packages/contracts-bedrock/deployments/sepolia/ \ + --l1-deployments ../packages/contracts-bedrock/deployments/getting-started/.deploy \ --outfile.l2 genesis.json \ --outfile.rollup rollup.json \ --l1-rpc $L1_RPC_URL