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

Commit

Permalink
Cleans up tests for verify_accounts_hash (#30683)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Mar 11, 2023
1 parent f9805b6 commit 3a97986
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions runtime/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9621,8 +9621,8 @@ pub mod tests {
ancestors: &'a Ancestors,
epoch_schedule: &'a EpochSchedule,
rent_collector: &'a RentCollector,
) -> VerifyAccountsHashAndLamportsConfig<'a> {
VerifyAccountsHashAndLamportsConfig {
) -> Self {
Self {
ancestors,
test_hash_calculation: true,
epoch_schedule,
Expand Down Expand Up @@ -12595,7 +12595,7 @@ pub mod tests {
}

#[test]
fn test_verify_bank_hash() {
fn test_verify_accounts_hash() {
use AccountsHashVerificationError::*;
solana_logger::setup();
let db = AccountsDb::new(Vec::new(), &ClusterType::Development);
Expand Down Expand Up @@ -12694,7 +12694,7 @@ pub mod tests {
}

#[test]
fn test_verify_bank_hash_no_account() {
fn test_verify_accounts_hash_no_account() {
solana_logger::setup();
let db = AccountsDb::new(Vec::new(), &ClusterType::Development);

Expand All @@ -12719,7 +12719,7 @@ pub mod tests {
}

#[test]
fn test_verify_bank_hash_bad_account_hash() {
fn test_verify_accounts_hash_bad_account_hash() {
use AccountsHashVerificationError::*;
solana_logger::setup();
let db = AccountsDb::new(Vec::new(), &ClusterType::Development);
Expand Down

0 comments on commit 3a97986

Please sign in to comment.