Skip to content

Commit

Permalink
Obtain contract instance receipt from the creation metadata available…
Browse files Browse the repository at this point in the history
… in latest version of ape.
  • Loading branch information
derekpierre committed Aug 22, 2024
1 parent 2eceb03 commit e45d458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit e45d458

Please sign in to comment.