forked from cerc-io/laconicd-deprecated
d3333418c5
* bug(feemarket): set lower bound of base fee to min gas price param) * fix * bug(feemarket): flag necessary improvement to integration tests, as the baseFee changes for every test * bug(feemarket): add unit tests for CalculateBaseFee * bug(feemarket): move integration test setup out of Describe block * wip fix tests * bug(feemarket): fix integration tests * bug(feemarket): wip improve specs * bug(feemarket): add spec concepts * bug(feemarket): remove todo * bug(feemarket): remove changes used for debugging in params * bug(feemarket): remove todo in integration test * add changelog * address PR comments Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> |
||
---|---|---|
.. | ||
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