Skip to content

Commit

Permalink
refactor: rename meta to creation
Browse files Browse the repository at this point in the history
  • Loading branch information
banteg committed Apr 12, 2024
1 parent 69c74ec commit 709b2a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ape/contracts/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,12 +900,12 @@ def receipt(self) -> ReceiptAPI:
return receipt

# query the deployment to find the receipt
receipt = self.chain_manager.get_receipt(self.meta.txn_hash)
receipt = self.chain_manager.get_receipt(self.creation.txn_hash)
self._cached_receipt = receipt
return receipt

@cached_property
def meta(self) -> ContractCreation:
def creation(self) -> ContractCreation:
"""
Contract creation details: txn_hash, deployer, factory, deploy_block.
"""
Expand Down

0 comments on commit 709b2a6

Please sign in to comment.