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

Cleanup fee.staticCalculator #3210

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Cleanup fee.staticCalculator #3210

merged 2 commits into from
Jul 22, 2024

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

  • Fees can be calculated purely over unsigned transactions. This is critical to ensure that building transactions is easy.
  • It felt weird that the static fee calculator wasn't implemented in a way that could be used concurrently.
  • Removed an incorrect comment

How this works

Removes mutable state from the calculator implementation.

How this was tested

  • CI

@StephenButtolph StephenButtolph added the cleanup Code quality improvement label Jul 21, 2024
@StephenButtolph StephenButtolph added this to the v1.11.10 milestone Jul 21, 2024
@StephenButtolph StephenButtolph self-assigned this Jul 21, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Jul 22, 2024
Merged via the queue into master with commit f4d8a3c Jul 22, 2024
20 checks passed
@StephenButtolph StephenButtolph deleted the fees-for-unsigned-txs branch July 22, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants