Skip to content

Do not scale gas price if block number is not increasing #472

@bdrhn9

Description

@bdrhn9

When a chain stops generating blocks because pending transactions are not being mined, we continue scaling gas prices. Once the chain resumes normal operation, transactions may remain stuck in the txpool with scaled gas prices but are not picked up by the sequencer/validator for some reason.

In this scenario, sending a new transaction to the RPC will fail because the RPC rejects it (due to an existing transaction with a higher gas price in the pool).

This proposed solution would prevent the issue from occurring in the first place. This can be easily implemented by adding blockNumber information to PendingTransactionInfo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Data feed operationsFor issues related to Data feed operations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions