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>
This commit is contained in:
Thomas Nguy
2022-02-25 12:49:18 +00:00
committed by GitHub
co-authored by Federico Kunze Küllmer
parent 6095794cf0
commit a2c26208ed
12 changed files with 308 additions and 3 deletions
+14
View File
@@ -0,0 +1,14 @@
<!--
order: 7 -->
# Parameters
The `x/feemarket` module contains the following parameters:
| Key | Type | Default Values | Description |
| ----------------------------- | ------ | ----------- |------------- |
| NoBaseFee | bool | false | control the base fee adjustment |
| BaseFeeChangeDenominator | uint32 | 8 | bounds the amount the base fee that can change between blocks |
| ElasticityMultiplier | uint32 | 2 | bounds the threshold which the base fee will increase or decrease depending on the total gas used in the previous block|
| BaseFee | uint32 | 1000000000 | base fee for EIP-1559 blocks |
| EnableHeight | uint32 | 0 | height which enable fee adjustment |