From 77995af78da3fadbae540df7ea93d3e1dfd6c646 Mon Sep 17 00:00:00 2001 From: "Eugene Y. Q. Shen" Date: Mon, 23 Oct 2023 13:40:27 -0400 Subject: [PATCH] specs: rename contracts to contracts-bedrock --- CONTRIBUTING.md | 4 ++-- specs/deposits.md | 6 +++--- specs/meta/devnet.md | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bcf0e8703602..96cd56173c13 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -181,9 +181,9 @@ You must have Python 3.x installed to run `slither`. To run `slither` locally, do: ```bash -cd packages/contracts +cd packages/contracts-bedrock pip3 install slither-analyzer -pnpm test:slither +pnpm slither ``` ## Labels diff --git a/specs/deposits.md b/specs/deposits.md index 442a4592db28..eb2602ee3a8e 100644 --- a/specs/deposits.md +++ b/specs/deposits.md @@ -308,9 +308,9 @@ A reference implementation of the L1 Attributes predeploy contract can be found [L1Block.sol]: ../packages/contracts-bedrock/src/L2/L1Block.sol -After running `pnpm build` in the `packages/contracts` directory, the bytecode to add to the genesis -file will be located in the `deployedBytecode` field of the build artifacts file at -`/packages/contracts/artifacts/contracts/L2/L1Block.sol/L1Block.json`. +After running `pnpm build` in the `packages/contracts-bedrock` directory, the bytecode to add to +the genesis file will be located in the `deployedBytecode` field of the build artifacts file at +`/packages/contracts-bedrock/forge-artifacts/L1Block.sol/L1Block.json`. ## User-Deposited Transactions diff --git a/specs/meta/devnet.md b/specs/meta/devnet.md index ad9de46e9ce9..b39a55a04d4f 100644 --- a/specs/meta/devnet.md +++ b/specs/meta/devnet.md @@ -12,7 +12,7 @@ You can spin up a local devnet via `docker compose`. For convenience, we have defined `make` targets to start and stop the devnet with a single command. To run the devnet, you will need `docker` installed. -Then, as a precondition, make sure that you have compiled the contracts by `cd`ing into `packages/contracts` +Then, as a precondition, make sure that you have compiled the contracts by `cd`ing into `packages/contracts-bedrock` and running `pnpm i` followed by `pnpm build`. You'll only need to do this if you change the contracts in the future. Then, run the following: