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

Split signature throughput tracking out of FeeCalculator (bp #8447) #8610

Merged
merged 1 commit into from
Mar 4, 2020

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Mar 4, 2020

This is an automated {kind} of pull request #{pull.number} done by Mergify.io

Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR
  • @Mergifyio backports <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the simulator.

Finally, you can contact us on https://mergify.io/

* SDK: Split new `FeeRateGovernor` out of `FeeCalculator`

Leaving `FeeCalculator` to *only* calculate transaction fees

* Replace `FeeCalculator` with `FeeRateGovernor` as appropriate

* Expose recent `FeeRateGovernor` to clients

* Move `burn()` back into `FeeCalculator`

Appease BPF tests

* Revert "Move `burn()` back into `FeeCalculator`"

This reverts commit f303562.

* Adjust BPF `Fee` sysvar test to reflect removal of `burn()` from `FeeCalculator`

* Make `FeeRateGovernor`'s `lamports_per_signature` private

* rebase artifacts

* fmt

* Drop 'Recent'

* Drop _with_commitment variant

* Use a more portable integer for `target_signatures_per_slot`

* Add docs for `getReeRateCalculator` JSON RPC method

* Don't return `lamports_per_signature` in `getFeeRateGovernor` JSONRPC reply

(cherry picked from commit 90bedd7)
@mergify mergify bot added the automerge Merge this Pull Request automatically once CI passes label Mar 4, 2020
@solana-grimes solana-grimes merged commit 7d86179 into v1.0 Mar 4, 2020
@codecov
Copy link

codecov bot commented Mar 4, 2020

Codecov Report

❗ No coverage uploaded for pull request base (v1.0@061319f). Click here to learn what that means.
The diff coverage is 75.1%.

@@          Coverage Diff           @@
##             v1.0   #8610   +/-   ##
======================================
  Coverage        ?     80%           
======================================
  Files           ?     256           
  Lines           ?   55607           
  Branches        ?       0           
======================================
  Hits            ?   44524           
  Misses          ?   11083           
  Partials        ?       0

@mergify mergify bot deleted the mergify/bp/v1.0/pr-8447 branch March 4, 2020 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants