Skip to content

Commit

Permalink
improves proxy wrapping console log message
Browse files Browse the repository at this point in the history
  • Loading branch information
KPrasch committed Sep 27, 2023
1 parent b9d82dd commit 34b586b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deployment/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,5 +334,6 @@ def transact(self, method, *args):

@staticmethod
def proxy(contract: ContractContainer, proxy_contract: ContractInstance) -> ContractInstance:
print(f"Wrapping {contract} in proxy at {proxy_contract.address}.")
print(f"Wrapping {contract.contract_type.name} in "
f"at {proxy_contract.contract_type.name}:{proxy_contract.address}.")
return contract.at(proxy_contract.address)

0 comments on commit 34b586b

Please sign in to comment.