Payload and tests for the Chaos <> AAVE Proposals
It requires Foundry installed to run. You can find instructions here Foundry installation.
In order to install, run the following commands:
$ npm install
$ forge installDuplicate .env.example and rename to .env:
- Add a valid mainnet URL for an Ethereum JSON-RPC client for the
RPC_ETHEREUMvariable. - Add a valid Private Key for the
PRIVATE_KEYvariable. - Add a valid Etherscan API Key for the
ETHERSCAN_API_KEYvariable.
make build- build the projectmake test- run testsmake match MATCH=<TEST_FUNCTION_NAME>- run matched tests
make deploy-payload- deploy and verify payload on mainnetmake deploy-proposal- deploy proposal on mainnet
To confirm the deploy was successful, re-run your test suite but use the newly created contract address.