multisig-ops
multisig-ops copied to clipboard
Brownie: Migrate Etherscan API to v2
Etherscan API v1 shut down for good. Brownie has hard-coded v1 dependencies.
We need to likely upgrade contracts.py and network config and deploy a new version so that reporting works again.
Error logs from PR runs:
ValueError: Failed to retrieve data from API: {'status': '0', 'message': 'NOTOK', 'result': 'You are using a deprecated V1 endpoint, switch to Etherscan API V2 using https://docs.etherscan.io/v2-migration'