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

Rename slot_hash => bank_hash in AcoountsDB #7579

Merged
merged 3 commits into from
Dec 23, 2019

Conversation

ryoqun
Copy link
Contributor

@ryoqun ryoqun commented Dec 20, 2019

Quick follow-up PR as per this:

I avoided renaming the AccontsDB::slot_hashes field to AccountsDB::bank_hashes as it will introduce too noise for this PR, which is already a bit sizable. I'll do a quick dumb-replace PR after this PR.

(Remotely) part of #7167

@ryoqun ryoqun requested a review from sakridge December 20, 2019 01:40
if calculated_hash == *found_hash {
Ok(())
} else {
Err(MismatchedBankHash)
}
} else {
Err(BankHashVerificatonError::MissingBankHash)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Err, this escaped from my eyes. And this is against my aesthetics.

@ryoqun
Copy link
Contributor Author

ryoqun commented Dec 20, 2019

CI now fails because of timeout.... Even with this kind of tiny PR......

@codecov
Copy link

codecov bot commented Dec 20, 2019

Codecov Report

Merging #7579 into master will increase coverage by 10.4%.
The diff coverage is 96.1%.

@@            Coverage Diff            @@
##           master   #7579      +/-   ##
=========================================
+ Coverage    70.3%   80.8%   +10.4%     
=========================================
  Files         244     244              
  Lines       57859   50353    -7506     
=========================================
+ Hits        40706   40712       +6     
+ Misses      17153    9641    -7512

ci/buildkite.yml Outdated
@@ -20,7 +20,7 @@ steps:
timeout_in_minutes: 30
- command: ". ci/rust-version.sh; ci/docker-run.sh $$rust_stable_docker_image ci/test-stable.sh"
name: "stable"
timeout_in_minutes: 40
timeout_in_minutes: 50
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Evil commit prevails.....

sakridge
sakridge previously approved these changes Dec 22, 2019
Copy link
Contributor

@sakridge sakridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mergify mergify bot dismissed sakridge’s stale review December 23, 2019 00:13

Pull request has been modified.

@ryoqun
Copy link
Contributor Author

ryoqun commented Dec 23, 2019

The CI build for the latest commit was failed but I'm merging this anyway because this PR does actually passed the CI. The CI has just timed-out and this PR actually has passed the CI at the previous commit.

@ryoqun ryoqun merged commit c8fe404 into solana-labs:master Dec 23, 2019
sakridge pushed a commit to sakridge/solana that referenced this pull request Jan 14, 2020
* Rename slot_hash => bank_hash in AcoountsDB
sakridge pushed a commit to sakridge/solana that referenced this pull request Jan 14, 2020
* Rename slot_hash => bank_hash in AcoountsDB
mvines pushed a commit that referenced this pull request Jan 15, 2020
* Rename slot_hash => bank_hash in AcoountsDB
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.

3 participants