Skip to content

x/txfees: Make an ante-handler filter for recognizing High gas txs, and having a min gas price for them #724

Closed
@ValarDragon

Description

@ValarDragon

Similar to #723 , we should make a mempool filter for high gas fee txs to have non-zero fee requirements. (Configurable by every full node operator)

E.g. if gas fee > $THRESHOLD, require minimum-gas-price to be at least x.

Would require two params in the app.toml config threshold and x. Though maybe its fine to just hardcode the threshold?

I think its probably worthwhile for governance to consider requiring this in the state machine. (Though that could also be premature with cosmwasm, unclear how cosmwasm contracts will perform gas-wise)

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status

    Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions