forked from cerc-io/laconicd-deprecated
* Add min_gas_price to feemarket params * Add MinGasPriceDecorators * feemarket integration tests for MinGasPrice * Restructure integration tests * Simplify integration tests context We use DeliverTx context to set up the app, otherwise not all settings are initialized. We test CheckTx with `s.app.BaseApp.CheckTx(req)`, which uses the `CheckTx` mode and context. * Update MinGasPrice spec in feemarket module * reorder ethermint module order for initializing genesis * feemarket migrations for adding MinGasPrice param * update changelog * Additional unit tests for MinGasPrice = 0, tx gas price > 0 (PR review) https://github.com/tharsis/ethermint/pull/1104#discussion_r884991661 * Use 0 MinGasPrice for transaction simulations * Fix duplicate registration of feemarket GenesisState and Params (PR review) https://github.com/tharsis/ethermint/pull/1104#issuecomment-1141893712 |
||
|---|---|---|
| .. | ||
| 01_concepts.md | ||
| 02_state.md | ||
| 03_begin_block.md | ||
| 04_end_block.md | ||
| 05_keeper.md | ||
| 06_events.md | ||
| 07_params.md | ||
| 08_client.md | ||
| 09_antehandlers.md | ||
| 10_future_improvements.md | ||
| README.md | ||
Feemarket
Abstract
This document specifies the feemarket module which allows to define a global transaction fee for the network.
This module has been designed to support EIP1559 in cosmos-sdk.
The MempoolFeeDecorator in x/auth module needs to be overrided to check the baseFee along with the minimal-gas-prices allowing to implement a global fee mechanism which vary depending on the network activity.
For more reference to EIP1559:
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1559.md