yarn install
yarn build
cd integration-tests/ && go test --timeout=2h -v ./smoke
(from core of repo)
Soak tests will run a modified version of the smoke test via a remote runner for the set period. The difference is that there is no panic when an error appears, but instead log it.
make test-integration-soak
TTL=72h
- duration of soak
NODE_COUNT
- number of OCR nodes
CHAINLINK_IMAGE
- Chainlink docker image repo
CHAINLINK_VERSION
- Chainlink docker image version
L2_RPC_URL
- This will override the L2 url, used for testnet (optional)
PRIVATE_KEY
- Private key for Testnet (optional)
ACCOUNT
- Account address on Testnet (optional)
Commons - Common Chainlink methods to generate chains, nodes, key bundles
Test Commons - Test methods to deploy env, configure clients, fetch client details
Cosmos Commons - Methods related to cosmos and L2 actions such as minting, L1<>L2 sync
Gauntlet wrapper - Wrapper for Cosmos gauntlet
OCRv2 tests - Example smoke test to set up environment, configure it and run the smoke test
See smoke examples here
See soak examples here and here
- Instantiate Gauntlet
- Deploy Cluster
- Set Gauntlet network
- Deploy accounts on L2 for the nodes
- Fund the accounts
- Deploy L2 LINK token via Gauntlet
- Deploy L2 Access controller contract via Gauntlet
- Deploy L2 OCR2 contract via Gauntlet
- Set OCR2 billing via Gauntlet
- Set OCR2 config details via Gauntlet
- Set up boostrap and oracle nodes
- Navigate to Grafana
- Search for
chainlink-testing-insights
dashboard - Select the cosmos namespace
Here you will find pod logs for all the chainlink nodes as well as Devnet / Geth