You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if you attempt to deploy a contract without explicitly declaring from, brownie raises AttributeError: Contract has no owner, you must supply a tx dict with a 'from' field as the last argument.
This error is confusing. It's meant to be given from an already deployed contract.
It should be possible to declare a default account, similar to web3.eth.defaultAccount, that contracts will be deployed from. Brownie already has the default_contract_owner config setting, so perhaps expand on that?
The text was updated successfully, but these errors were encountered:
Currently if you attempt to deploy a contract without explicitly declaring
from
, brownie raisesAttributeError: Contract has no owner, you must supply a tx dict with a 'from' field as the last argument.
web3.eth.defaultAccount
, that contracts will be deployed from. Brownie already has thedefault_contract_owner
config setting, so perhaps expand on that?The text was updated successfully, but these errors were encountered: