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

check freeze before updating slot_hashes #4448

Conversation

rob-solana
Copy link
Contributor

Problem

freeze() updates slot_hashes with each call

Summary of Changes

only update slot_hashes when updating the bank's hash

Fixes #

@codecov
Copy link

codecov bot commented May 28, 2019

Codecov Report

Merging #4448 into master will decrease coverage by 1.5%.
The diff coverage is 71.4%.

@@           Coverage Diff            @@
##           master   #4448     +/-   ##
========================================
- Coverage    79.5%     78%   -1.6%     
========================================
  Files         176     176             
  Lines       31270   31811    +541     
========================================
- Hits        24889   24817     -72     
- Misses       6381    6994    +613

@rob-solana rob-solana merged commit 441fed7 into solana-labs:master May 28, 2019
@rob-solana rob-solana deleted the check-freeze-before-updating-slot_hashes branch May 28, 2019 19:26
rob-solana added a commit to rob-solana/solana that referenced this pull request May 28, 2019
* check freeze before updating slot_hashes

* fixup
danpaul000 pushed a commit that referenced this pull request May 29, 2019
* check freeze before updating slot_hashes (#4448)

* check freeze before updating slot_hashes

* fixup

* add more information to dropped vote warning (#4449)

* add more information to dropped vote warning

* fixup
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant