Fee antehandler audit and refactor #2090
Labels
admin: epic
An EPIC -- meta issue used to track a body of work
type: tech-debt
Slows down development in the long run
Summary
Global Fee (or Global Min Fee) is a gaia module which was supplied by TGrade which defines a fee all transactions have to satisfy (except by-pass-msg).
Currently, Gaia has two fees setups: the
mininum_gas_price
inconfig/app.toml
and a global fee (a list of coins) in param store.Gaia fee antehandler takes min_gas_price, Global fee into a combined fee requirement. The combined fee:
Gaia fee antehandler also can bypass bypass-msg(all msgs are bypass msg types and not exceed
MaxBypassMinFeeMsgGasUsage
), but if bypass-msg still pays fees, gaia fee antehandler will also check the denoms of the fee.Type
Impact
Proposed Solution
Audit is needed for the fee antehandler @tac0turtle if sdk team can help ?
(@mpoke please confirm this is still the case)
Document bypass-msg Document how fee bypass works #2089
Refactor global fee module @mpoke
Provide relayer and validators guidance of fee setups
For Admin Use
The text was updated successfully, but these errors were encountered: