curve-dao-contracts
curve-dao-contracts copied to clipboard
AttributeError: Contract 'AppProxyUpgradeable' object has no attribute 'execute'
when I'm running brownie run voting/new_vote make_vote --network mainnet -I
this will get thrown inside the make_vote function. Are the ABIs not the correct ones or what could cause this issue?
i also have encountered this probelm, you can modify prepare_evm_script
function to resolve it
change code
def prepare_evm_script():
agent = Contract(TARGET["agent"])
to
def prepare_evm_script():
agent = Contract.from_explorer(TARGET["agent"])
why ? because the agent contract is proxy contract pls see https://eth-brownie.readthedocs.io/en/stable/api-network.html#Contract.from_explorer to view details