Skip to content

Support setting the sanitization window to 0 #306

Open
@Siegrift

Description

NOTE: The issue started as a task to use base fee from the RPC as the lower bound after the sanitization. The decision was later changed, and now the issue support sanitization window set to 0.

PREVIOUS DESCRIPTION:
We discussed on call, that it's possible that the RPC node returns gas price which is lower than the base fee. That said, so far all occurrences of the "gas price lower than base fee" were seen after we've sanitised the gas price. The disadvantage of this could be that we submit the tx with a high gas price (e.g. in case there is an issue with RPC and it reports wrong base fee).

What we could do is get the gas price and base fee from the RPC, sanitize it and then use max(sanitized_gas_price, base_fee).

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions