diff --git a/src/agent0/core/hyperdrive/interactive/local_chain.py b/src/agent0/core/hyperdrive/interactive/local_chain.py index 97fcd966b5..0f937f5a71 100644 --- a/src/agent0/core/hyperdrive/interactive/local_chain.py +++ b/src/agent0/core/hyperdrive/interactive/local_chain.py @@ -348,7 +348,6 @@ def advance_time( checkpoint_event = pool._create_checkpoint( # pylint: disable=protected-access check_if_exists=True, gas_limit=self.config.gas_limit, - retries=self.config.advance_time_create_checkpoint_retry_count, ) if checkpoint_event is not None: out_dict[pool].append(checkpoint_event) @@ -372,7 +371,6 @@ def advance_time( for pool in self._deployed_hyperdrive_pools: checkpoint_event = pool._create_checkpoint( gas_limit=self.config.gas_limit, - retries=self.config.advance_time_create_checkpoint_retry_count, ) # pylint: disable=protected-access # These checkpoints should never fail assert checkpoint_event is not None diff --git a/src/agent0/core/hyperdrive/interactive/local_hyperdrive.py b/src/agent0/core/hyperdrive/interactive/local_hyperdrive.py index 887960b28a..e63849466d 100644 --- a/src/agent0/core/hyperdrive/interactive/local_hyperdrive.py +++ b/src/agent0/core/hyperdrive/interactive/local_hyperdrive.py @@ -528,7 +528,6 @@ def _create_checkpoint( checkpoint_time: int | None = None, check_if_exists: bool = True, gas_limit: int | None = None, - retries: int | None = None, ) -> CreateCheckpointEventFP | None: """Internal function without safeguard checks for creating a checkpoint. Creating checkpoints is called by the chain's `advance_time`. @@ -551,7 +550,6 @@ def _create_checkpoint( self.chain.get_deployer_account(), checkpoint_time=checkpoint_time, gas_limit=gas_limit, - write_retry_count=retries, ) except AssertionError as exc: # Adding additional context to the "Transaction receipt has no logs" error diff --git a/src/agent0/ethpy/base/transactions.py b/src/agent0/ethpy/base/transactions.py index 7479d4edd9..159acbff44 100644 --- a/src/agent0/ethpy/base/transactions.py +++ b/src/agent0/ethpy/base/transactions.py @@ -559,7 +559,7 @@ async def _async_build_send_and_wait(): ) try: - return _async_build_send_and_wait() + return await _async_build_send_and_wait() # Wraps the exception with a contract call exception, adding additional information # Other than UnknownBlockError, which gets the block number from the transaction receipt,