Intro | Architecture | Setup | Tasks | Local development | Roles | Operator owners
This repository supports both fresh local deployments and fork-based validation of real environment configs.
Use the local deployment config and deploy everything from scratch:
just deploy-fresh localThis is the quickest way to get a complete local protocol instance with the v2 module set.
The preferred way to validate an environment upgrade is to run it on a local fork and then execute the strict fork tests.
Example:
anvil --fork-url "$HOODI_RPC_URL" --port 8545
just upgrade-test-fork hoodi-stageOther useful variants:
just upgrade-fork hoodi-stage
just test-fork hoodi-stage
just smoke-test hoodi-stagedeployments/<env>/config.jsondefines the intended configuration for that environmentdeployments/<env>/deploy-result*.jsonstores deployment outputsdeployments/<env>/upgrade-result*.jsonstores upgrade outputs
For the detailed schema and expected artifacts, use deployments/README.md.
This repo keeps explorer verification and post-upgrade config verification as script-driven workflows rather than documenting long manual steps here.
Use:
- deployments/README.md for env-aware deployment and verification flows
- scripts/deployment.md for concise script examples
- If an env-driven command fails early, check that
.envhas the required RPC URL and signer key for that environment. - If fork tests cannot find deployed state, confirm Anvil is running on
127.0.0.1:8545and that the chosen env config matches the forked network. - If verification output looks stale, rerun the relevant deploy or upgrade flow so the latest result artifact is regenerated.