Skip to content

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
@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