$ ape --version
0.8.5
$ ape plugins list
Installed Plugins
alchemy 0.8.0
arbitrum 0.8.0
aws 0.8.0a3
base 0.8.0
etherscan 0.8.0
foundry 0.8.0
optimism 0.8.0
solidity 0.8.2
Python Version: Python 3.11.0
OS: macOS
What went wrong?
In ape console, private transactions sent through Alchemy do not immediately return a transaction receipt even when required_confirmations=0. For our silverback bot, example call to our contract
In [12]: arbitrageur.execute(params, sender=acc, required_confirmations=0, private=True)
stalls for significant amount of time without returning and continuing to the next console input line. The private transaction does go through successfully though eventually.
How can it be fixed?
Seems like in private transactions there is a timeout parameter set to 25 blocks always for each transaction. Maybe this is the cause of the issue?
Would expect required_confirmations=0 to override any potential timeout.
Environment information
ape
and plugin versions:What went wrong?
In
ape console
, private transactions sent through Alchemy do not immediately return a transaction receipt even whenrequired_confirmations=0
. For our silverback bot, example call to our contractstalls for significant amount of time without returning and continuing to the next console input line. The private transaction does go through successfully though eventually.
How can it be fixed?
Seems like in private transactions there is a
timeout
parameter set to 25 blocks always for each transaction. Maybe this is the cause of the issue?Would expect
required_confirmations=0
to override any potential timeout.