Description
This is a prelaunch requirement. I've been part of a few in person discussions so I will document here.
The network needs to have an anti spam mechanism via a minimum fee. The minimum fee will also depend on relative value of the underlying token so it must be adjustable.
There seem to be roughly 3 possible designs.
Non-Consensus minimum fee
- Each validator sets a minimum fee locally in a config file. They reject any tx from the mempool with less than the required fee per gas. This has the implication of requiring
checkTx
to have depend on a config result. Potentially all nodes should set this value to prevent gossiping spam transactions.
☝️ @zmanian is a fan of this design.
Consensus Minimum fee
-
Minimum fees are set in the consensus state via validator voting. This also allows setting new fee tokens. I believe @sunnya97 is a fan of this approach. Requires implementing something similar to governance with automatic parameter setting.
-
Algorithmically derived minimum fee. Have the minimum fee rise automatically as capacity is consumed and decrease if capacity is underutilized. Requires adding information about block capacity utilization to state.
@jaekwon prefers this approach.
Activity