Skip to content

Latest commit

 

History

History
61 lines (48 loc) · 1.05 KB

deploy.md

File metadata and controls

61 lines (48 loc) · 1.05 KB

Testnet Deployment Checklist

Preparation

  • Cleanup Consider clearing the working tree or creating a fresh clone of the repository as it exists at the remote origin.

  • Test the contracts.

    • Foundry:
    make test
    • Hardhat:
    npx hardhat test
  • Test a local deployment.

    • Export relevant environmental variables:
    export RPC_URL="http://0.0.0.0:8545"
    • Deploy.
    make all-native
    • Cleanup.
    make clean

Deployment

  • Export relevant environmental vars
    export RPC_URL="https://example.com/path/to/endpoint";
    export PRIVATE_KEY="0x...";
  • Walk through make all-native step by step, without run-geth or init-accounts:
make run-geth;
make generate-accounts;
make deploy-weth9;
make deploy-mock;
make deploy-lagrange;
make deploy-verifiers;
make update-config;
make add-quorum;
node util/distributor.js # optional for private testnet
make deposit-stake;
make deploy-register;
make init-committee;

Post-Deployment Verification

TBD