-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from clabby/clabby/modernize-devnet
feat: Upgrade devnet
- Loading branch information
Showing
19 changed files
with
49 additions
and
577 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ Thanks for wanting to contribute! :yellow_heart: | |
To work in this repo, you'll need to install: | ||
1. [Rust Toolchain](https://rustup.rs/) | ||
1. [Docker](https://docs.docker.com/get-docker/) | ||
1. [ripgrep](https://github.com/BurntSushi/ripgrep) | ||
1. [mprocs](https://github.com/pvolok/mprocs) | ||
|
||
And clone the [Optimism Monorepo](https://github.com/ethereum-optimism/optimism) | ||
|
||
|
@@ -19,17 +21,13 @@ git clone [email protected]:clabby/op-challenger.git | |
2. Configure your dev environment | ||
```sh | ||
# Set the MONOREPO_DIR variable | ||
nvim .env.devnet | ||
# Set up your env vars | ||
source .env.devnet | ||
nvim start_devnet.sh | ||
# On the L1 service, port forward the websocket endpoint port (8546) | ||
nvim $MONOREPO_DIR/ops-bedrock/docker-compose.yml | ||
# Install forge deps | ||
(cd ./testdata/mock-dgf && forge install) | ||
# Start the devnet and deploy the mock dispute game factory | ||
# Start the devnet | ||
./start_devnet.sh | ||
``` | ||
3. Start the `op-challenger` with information, warning, and error traces enabled. | ||
3. Start the `op-challenger` with information, warning, and error traces enabled. There are 4 levels of log verbosity, with `-vvvv` showing all log levels. | ||
```sh | ||
cargo run --bin op-challenger -- -vv | ||
``` | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.