Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support of the feemodel params. #4

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

dzmitryhil
Copy link

@dzmitryhil dzmitryhil commented Dec 21, 2022

Description

Integration of the feemodel modules params.

API Query examples

Example of the GraphQL request:

query MyQuery {
  feemodel_params {
    params
  }
}

Example of the GraphQL response:

{
  "data": {
    "feemodel_params": [
      {
        "params": {
          "model": {
            "max_discount": "0.123450000000000000",
            "max_block_gas": 50000000,
            "initial_gas_price": "0.062500000000000000",
            "long_ema_block_length": 1000,
            "short_ema_block_length": 10,
            "max_gas_price_multiplier": "1000.000000000000000000",
            "escalation_start_fraction": "0.800000000000000000"
          }
        }
      }
    ]
  }
}

This change is Reviewable

@dzmitryhil dzmitryhil changed the title Add support of the feemodel params. feat: add support of the feemodel params. Dec 21, 2022
Copy link

@miladz68 miladz68 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 22 of 22 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @silverspase, @wojtek-coreum, and @ysv)

Copy link

@vertex451 vertex451 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very interesting

Copy link

@ysv ysv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 22 of 22 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @wojtek-coreum)

@dzmitryhil dzmitryhil merged commit f227fc2 into chains/coreum Dec 23, 2022
@dzmitryhil dzmitryhil deleted the dzmitryhil/feemodel-params-indexer branch January 8, 2025 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants