Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Cleanup: Remove polkadot-service dependency from minimal node #2430

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unwanted changes
skunert committed Apr 4, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit aab1d33ed8deccfedcda2a1ea69eef05fa2a1d4b
4 changes: 3 additions & 1 deletion client/relay-chain-interface/src/lib.rs
Original file line number Diff line number Diff line change
@@ -46,7 +46,9 @@ pub enum RelayChainError {
WaitTimeout(PHash),
#[error("Import listener closed while waiting for relay-chain block `{0}` to be imported.")]
ImportListenerClosed(PHash),
#[error("Blockchain returned an error while waiting for relay-chain block `{0}` to be imported: {1}")]
#[error(
"Blockchain returned an error while waiting for relay-chain block `{0}` to be imported: {1}"
)]
WaitBlockchainError(PHash, sp_blockchain::Error),
#[error("Blockchain returned an error: {0}")]
BlockchainError(#[from] sp_blockchain::Error),
2 changes: 1 addition & 1 deletion client/relay-chain-minimal-node/src/network.rs
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ pub(crate) fn build_collator_network(
);
// This `return` might seem unnecessary, but we don't want to make it look like
// everything is working as normal even though the user is clearly misusing the API.
return;
return
}

network_worker.run().await;