Skip to content

Conversation

StephenButtolph
Copy link
Contributor

@StephenButtolph StephenButtolph commented Jul 31, 2024

Currently the specification is unclear as to what the initial value of x and r are during the fork activation.

I feel like the only "no numbers up my sleeve" choices for these are:

  • x=0
  • r=0
  • r=L

Having r initially set to L would be the aggressive choice (as it's possible to have the previous block be full, and then 1 second later have L complexity issued). The conservative choice (which is what I'm proposing in this PR) is to set the value to 0. This choice really doesn't impact the mechanism for a long period of time. Just during the network upgrade transition.

We could consider initializing x such that the initial price is similar to the current fees... But because the current fees are static, it would need to be based on an average... Calculating this number seems like more complexity than it's worth (as again, these values only really matter shortly after the network upgrade transition).

@avalanche-foundation-admin avalanche-foundation-admin merged commit 355c274 into avalanche-foundation:main Jul 31, 2024
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