From e45d4586b161e8f1e958c16fa1aae38509b1d488 Mon Sep 17 00:00:00 2001 From: derekpierre Date: Thu, 22 Aug 2024 14:57:47 -0400 Subject: [PATCH] Obtain contract instance receipt from the creation metadata available in latest version of ape. --- deployment/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/registry.py b/deployment/registry.py index 7d2aa0ae..57da8cac 100644 --- a/deployment/registry.py +++ b/deployment/registry.py @@ -64,7 +64,7 @@ def _get_entry( ) -> RegistryEntry: contract_abi = _get_abi(contract_instance) contract_name = _get_name(contract_instance=contract_instance, registry_names=registry_names) - receipt = contract_instance.receipt + receipt = contract_instance.creation_metadata.receipt entry = RegistryEntry( name=contract_name, address=to_checksum_address(contract_instance.address),