Python based keeper bots for Badger system.
This repo is wired up to the BadgerDAO Kubernetes ArgoCD managed environment. On a PR to master the container creation, push, and manifest update will occur, which triggers ArgoCD to update the "prod" environment (dev is prod as of 8/11/21).
In order to prevent overwriting the current working prod manifests the contributor workflow is as follows:
- Create feature branch from
develop
. - Create PR to
develop
. - Upon PR LGTM, merge into
develop
. - Releases will be PRs opened from
develop
tomain
and will deploy the updated keepers to prod.
Set WEB3_INFURA_PROJECT_ID
environment variable in terminal before running script.
To run tests with the forked mainnet network:
brownie test tests/<test-file> --network=hardhat-fork
To test pancake bots on the forked bsc network:
brownie test tests/test_cake.py -s --network bsc-fork