You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have met a situation when the gasprice on L1 is too high (4000+ GWei on Sepolia), the first sendTx returns error because it costs too much ETH. However, neither the transaction will be sent again nor its status in DB is changed. Thus, this transaction get stucked. Because it is an verifiedBatches transaction, the following proof cannot be sent to L1.
Implementation
Maybe the failed transaction can be send again automatically if the first send returns error. It may need some modifications on ethtxmanager's sending routine.
The text was updated successfully, but these errors were encountered:
This is the main reason the EthTxManager exists, and this is the default behavior; the TX should be sent again.
The EthTxManager monitors the transaction, and if a TX is not sent due to the price, it increases the price of the transaction and sends it again. It can also recover if the account runs out of gas and the TX gets reverted for this reason.
There are some configurations that are important in this process:
The resend cycle only ends when a transaction reaches the status Complete or Failed, while the transaction has the state Created or Sent, the EthTxManager will keep monitoring it and adjusting the gas and gasPrice accordingly to the network and configured parameters.
To help us understand what's happening, do you have more logs or information that you can share with us?
Rationale
We have met a situation when the gasprice on L1 is too high (4000+ GWei on Sepolia), the first sendTx returns error because it costs too much ETH. However, neither the transaction will be sent again nor its status in DB is changed. Thus, this transaction get stucked. Because it is an verifiedBatches transaction, the following proof cannot be sent to L1.
Implementation
Maybe the failed transaction can be send again automatically if the first send returns error. It may need some modifications on ethtxmanager's sending routine.
The text was updated successfully, but these errors were encountered: