forked from cerc-io/laconicd-deprecated
046cd00174
* 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
16 lines
958 B
Markdown
16 lines
958 B
Markdown
<!--
|
|
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 |
|
|
| MinGasPrice | sdk.Dec | 0 | global minimum gas price that needs to be paid to include a transaction in a block |
|