diff --git a/src/ape_ethereum/provider.py b/src/ape_ethereum/provider.py index 8457c90e06..3f07b9221e 100644 --- a/src/ape_ethereum/provider.py +++ b/src/ape_ethereum/provider.py @@ -635,7 +635,12 @@ def get_receipt( if kwargs.get("private"): # Bail before confirmation because it won't be on chain yet. - receipt = self._create_receipt(required_confirmations=0, **txn) + data = { + "required_confirmations": 0, + "block_number": -1, + **txn, + } + receipt = self._create_receipt(**data) return receipt.await_confirmations() # But do need to await nonce increment. try: