Skip to content

Retry transactions unsent because of too low maxGasPrice #2118

Open
@leszko

Description

@leszko

Is your feature request related to a problem? Please describe.

Currently, if the value of -maxGasPrice is too low, the transactions are not sent and never retried.

The issue was initially mentioned by @0xVires in the comment.

Would it be possible to also add a retry mechanism like the one for the ticket redemption? Currently, if the new round starts and the gas price is higher than the maxFeePerGas, the O does not call the reward tx. It's then up to the user to manually call it or it won't be called at all.
It would be great if the node would keep checking the gas price and automatically submits the tx as soon as the gas price is lower than the set maxFeePerGas (like for the ticket redemption).

Describe the solution you'd like
Livepeer can keep track of unsent transactions and periodically try to send them again.

Describe alternatives you've considered
One alternative would be to always send the transaction even if -maxGasPrice is too low. However, then in a result, Livepeer may require manual interactions because the pending transactions block any subsequent transactions. For details, please check the following comment.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions