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

refactor so hash verify can be done by more callers #17941

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

jeffwashington
Copy link
Contributor

@jeffwashington jeffwashington commented Jun 14, 2021

Problem

The ability to calculate the hash while verifying index and non-index versions is useful outside of the current code path that only supports this while updating the hash.

Summary of Changes

extract code to make a sub-function
Fixes #

@jeffwashington jeffwashington requested a review from jbiseda June 14, 2021 18:54
@jeffwashington jeffwashington marked this pull request as ready for review June 14, 2021 18:54
@codecov
Copy link

codecov bot commented Jun 14, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@a248770). Click here to learn what that means.
The diff coverage is 87.5%.

@@            Coverage Diff            @@
##             master   #17941   +/-   ##
=========================================
  Coverage          ?    82.6%           
=========================================
  Files             ?      431           
  Lines             ?   121295           
  Branches          ?        0           
=========================================
  Hits              ?   100239           
  Misses            ?    21056           
  Partials          ?        0           

@jeffwashington jeffwashington merged commit 62e1b20 into solana-labs:master Jun 14, 2021
mergify bot pushed a commit that referenced this pull request Jun 14, 2021
(cherry picked from commit 62e1b20)

# Conflicts:
#	runtime/src/accounts_db.rs
mergify bot added a commit that referenced this pull request Jun 15, 2021
@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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants