Open
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
Labels
No labels