Thanks for wanting to contribute! 💛
To work in this repo, you'll need to install:
And clone the Optimism Monorepo
- Clone the repo
git clone [email protected]:clabby/op-challenger.git
- Configure your dev environment
# Set the MONOREPO_DIR variable
nvim start_devnet.sh
# On the L1 service, port forward the websocket endpoint port (8546)
nvim $MONOREPO_DIR/ops-bedrock/docker-compose.yml
# Start the devnet
./start_devnet.sh
- Start the
op-challenger
with information, warning, and error traces enabled. There are 4 levels of log verbosity, with-vvvv
showing all log levels.
cargo run --bin op-challenger -- -vv
To lint your code, run:
cargo +nightly fmt -- && cargo +nightly clippy --all --all-features -- -D warnings