laconicd-deprecated/x/feemarket/spec
Daniel Burckhardt d3333418c5
bug(feemarket): set lower bound of base fee to min gas price param (#1135)
* 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>
2022-06-22 12:57:16 +02:00
..
01_concepts.md bug(feemarket): set lower bound of base fee to min gas price param (#1135) 2022-06-22 12:57:16 +02:00
02_state.md all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
03_begin_block.md all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
04_end_block.md all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
05_keeper.md all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
06_events.md docs: add spec for feemarket module (#889) 2022-02-25 12:49:18 +00:00
07_params.md feemarket: global MinGasPrice parameter (#1104) 2022-05-31 18:28:46 +02:00
08_client.md all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
09_antehandlers.md feemarket: global MinGasPrice parameter (#1104) 2022-05-31 18:28:46 +02:00
10_future_improvements.md all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
README.md all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00

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

Contents

  1. Concepts
  2. State
  3. Begin Block
  4. End Block
  5. Keeper
  6. Events
  7. Params
  8. Client
  9. Future Improvements