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

Add dynamic fees config #3250

Merged
merged 3 commits into from
Jul 31, 2024
Merged

Add dynamic fees config #3250

merged 3 commits into from
Jul 31, 2024

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

With the introduction of dynamic fees, we need to pass the different configs through the node to the P-chain.

How this works

Adds dynamic fee config similar to the static fee config.

How this was tested

On startup, node logs values as expected:

{
   "dynamicFeeConfig":{
      "weights":[
         1,
         1,
         1,
         1
      ],
      "maxGasCapacity":1000000,
      "maxGasPerSecond":1000,
      "targetGasPerSecond":500,
      "minGasPrice":1,
      "excessConversionConstant":1
   }
}

@StephenButtolph StephenButtolph added this pull request to the merge queue Jul 31, 2024
Merged via the queue into master with commit 0d0d1e7 Jul 31, 2024
20 checks passed
@StephenButtolph StephenButtolph deleted the add-dynamic-fees-config branch July 31, 2024 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants