Before running tests setup local network
Run npx hardhat node --last
- NETWORK_ERROR - possible solution
- Create new script in /proposals/scripts/[network]/
At the end of propasl use:
- testProposal() for testing transation with abi updates and etc.
- testStrategy() for testing startegies
- testUsdPlus()
- Comment out all tesing functions
- Run inside /proposal folder
npx hardhat run ./scripts/[network]/[file name].js --network [network]
ex:npx hardhat run ./scripts/arbitrum/34_update_silo_claim.js --network arbitrum --stand arbitrum
- File would be saved inside ./batches/[network]