This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
Replies: 2 comments 6 replies
-
isnt in that case effectiveGasPrice can never be inferior to (in case feecap is lower, then its normal for tx to fail) |
Beta Was this translation helpful? Give feedback.
5 replies
-
In your model, is |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, when the feemarket module is enabled, for eth transactions we have an extra requirement:
Usually, clients pick zero or constant
tipCap
for dynamic fee tx, andbaseFeePerGas
keep dropping when blocks are sparse, whenbaseFeePerGas
drop to a point whereeffectiveGasPrice < minimal-gas-prices
, the dynamic fee tx will fail, and client have to re-calculate atipCap
based on currentminimal-gas-prices
andbaseFeePerGas
. So basically the client logic will be different from go-ethereum.A simple solution is don't check
minimal-gas-prices
at all for eth tx when feemarket is enabled. And for legacy tx, rather than checktx.gasPrice >= minimal-gas-prices
, we checktx.gasPrice >= baseFeePerGas
.And considering the native cosmos tx, we shouldn't set min-gas-price too low, a reasonable one might be set
min-gas-price = initial base fee
.Beta Was this translation helpful? Give feedback.
All reactions