Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Move block-time caching earlier (backport #17109) #17150

Merged
merged 1 commit into from
May 10, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 10, 2021

This is an automatic backport of pull request #17109 done by Mergify.


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 on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <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 config editor.

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

* Require that blockstore block-time only be recognized slot, instead of root

* Move cache_block_time to after Bank freeze

* Single use statement

* Pass transaction_status_sender by reference

* Remove unnecessary slot-existence check before caching block time altogether

* Move block-time existence check into Blockstore::cache_block_time, Blockstore no longer needed in blockstore_processor helper

(cherry picked from commit 6e9deaf)
@mergify mergify bot added the automerge Merge this Pull Request automatically once CI passes label May 10, 2021
@codecov
Copy link

codecov bot commented May 10, 2021

Codecov Report

Merging #17150 (47353eb) into v1.6 (094271b) will increase coverage by 0.0%.
The diff coverage is 93.8%.

@@           Coverage Diff           @@
##             v1.6   #17150   +/-   ##
=======================================
  Coverage    82.7%    82.7%           
=======================================
  Files         418      418           
  Lines      115713   115700   -13     
=======================================
+ Hits        95717    95741   +24     
+ Misses      19996    19959   -37     

@mergify mergify bot merged commit 0cf8388 into v1.6 May 10, 2021
@mergify mergify bot deleted the mergify/bp/v1.6/pr-17109 branch May 10, 2021 20:32
@brooksprumo brooksprumo mentioned this pull request Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant