Skip to content

Commit

Permalink
Expose the warp_sync::BuildRuntime and `warp_sync::BuildChainInform…
Browse files Browse the repository at this point in the history
…ation` variants from all.rs (#644)

* Expose warp_sync::BuildRuntime variant from all.rs

* Remove WarpSyncError variant and expose BuildChainInformation

* CHANGELOG
  • Loading branch information
tomaka authored May 31, 2023
1 parent 242a1b3 commit ec0c4de
Show file tree
Hide file tree
Showing 5 changed files with 434 additions and 148 deletions.
3 changes: 2 additions & 1 deletion full-node/src/run/consensus_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,8 @@ impl SyncBackground {
(self, false)
}
all::ProcessOne::VerifyWarpSyncFragment(_)
| all::ProcessOne::WarpSyncError { .. }
| all::ProcessOne::WarpSyncBuildRuntime(_)
| all::ProcessOne::WarpSyncBuildChainInformation(_)
| all::ProcessOne::WarpSyncFinished { .. } => unreachable!(),
all::ProcessOne::VerifyBodyHeader(verify) => {
let hash_to_verify = verify.hash();
Expand Down
Loading

0 comments on commit ec0c4de

Please sign in to comment.