Local development and tests how to
- Geth
- Navigate to
integration tests - Run
go run main.go build. This will build core locally and expose it aschainlink-aptos:latest- You can optionally set the
--dirflag to overwrite the core directory and skip cloning it - Check
.example.envfor the requirements. You needCORE_REPOandCORE_REFexported or in.env
- You can optionally set the
- Run
go run main.go deploy- This will deploy everything locally and explose the ports so you can access the nodes and logs
- You need the env vars from
.example.envwith the information and images
cp .example.env .envcd integration-tests/smokego test
If you want to test the CI with a custom core image you need to specify in the PR body either the commit sha or branch name in the following format core_ref:<sha>; e.g core_ref:develop;.
Note: Develop does not work until the core aptos-init branch is merged