Skip to content

Commit

Permalink
Service::Error: Storage variant removed (paritytech#13481)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkucharczyk authored and nathanwhit committed Jul 19, 2023
1 parent 97b4023 commit 17aef4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion bin/node/cli/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,8 @@ pub fn new_full(config: Configuration, cli: Cli) -> Result<TaskManager, ServiceE
cli.storage_monitor,
database_source,
&task_manager.spawn_essential_handle(),
)?;
)
.map_err(|e| ServiceError::Application(e.into()))?;

Ok(task_manager)
}
Expand Down
3 changes: 0 additions & 3 deletions client/service/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ pub enum Error {
#[error(transparent)]
Telemetry(#[from] sc_telemetry::Error),

#[error(transparent)]
Storage(#[from] sc_storage_monitor::Error),

#[error("Best chain selection strategy (SelectChain) is not provided.")]
SelectChainRequired,

Expand Down

0 comments on commit 17aef4c

Please sign in to comment.