Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change(state): Move format upgrades to separate modules #7377

Closed
wants to merge 1 commit into from

moves deduplication of trees and its state validity check to separate…

9cd6fc5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

change(state): Move format upgrades to separate modules #7377

moves deduplication of trees and its state validity check to separate…
9cd6fc5
Select commit
Loading
Failed to load commit list.
GitHub Actions / Clippy (stable) Results failed Aug 28, 2023 in 0s

Clippy (stable) Results

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.72.0 (5680fa18f 2023-08-23)
  • cargo 1.72.0 (103a7ff2e 2023-08-15)
  • clippy 0.1.72 (5680fa1 2023-08-23)

Annotations

Check failure on line 113 in zebra-state/src/service/finalized_state/zebra_db.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (stable) Results

no variant or associated item named `check_for_duplicate_trees` found for enum `service::finalized_state::disk_format::upgrade::DbFormatChange` in the current scope

error[E0599]: no variant or associated item named `check_for_duplicate_trees` found for enum `service::finalized_state::disk_format::upgrade::DbFormatChange` in the current scope
   --> zebra-state/src/service/finalized_state/zebra_db.rs:113:29
    |
113 |             DbFormatChange::check_for_duplicate_trees(db.clone());
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `DbFormatChange`
    |
   ::: zebra-state/src/service/finalized_state/disk_format/upgrade.rs:60:1
    |
60  | pub enum DbFormatChange {
    | ----------------------- variant or associated item `check_for_duplicate_trees` not found for this enum