laconicd/x/feemarket/spec
Thomas Nguy a2c26208ed
docs: add spec for feemarket module (#889)
* add spec for feemarket

* update spec from comments

* update spec

* update abstract

* update with grpc query

* add more content for tip section

* update specs with latest behavior

* cleanup unused store prefix

* Update x/feemarket/spec/01_concepts.md

* Apply suggestions from code review

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-02-25 12:49:18 +00:00
..
01_concepts.md docs: add spec for feemarket module (#889) 2022-02-25 12:49:18 +00:00
02_state.md docs: add spec for feemarket module (#889) 2022-02-25 12:49:18 +00:00
03_begin_block.md docs: add spec for feemarket module (#889) 2022-02-25 12:49:18 +00:00
04_end_block.md docs: add spec for feemarket module (#889) 2022-02-25 12:49:18 +00:00
05_keeper.md docs: add spec for feemarket module (#889) 2022-02-25 12:49:18 +00:00
06_events.md docs: add spec for feemarket module (#889) 2022-02-25 12:49:18 +00:00
07_params.md docs: add spec for feemarket module (#889) 2022-02-25 12:49:18 +00:00
08_client.md docs: add spec for feemarket module (#889) 2022-02-25 12:49:18 +00:00
09_future_improvements.md docs: add spec for feemarket module (#889) 2022-02-25 12:49:18 +00:00
README.md docs: add spec for feemarket module (#889) 2022-02-25 12:49:18 +00: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