Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pepoviola committed Nov 26, 2024
1 parent 013eeaa commit 786592d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion crates/orchestrator/src/network/chain_upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ pub trait ChainUpgrade {
///
/// This call 'System.set_code_without_checks' wrapped in
/// 'Sudo.sudo_unchecked_weight'
async fn perform_runtime_upgrade(&self, node: &NetworkNode, options: RuntimeUpgradeOptions) -> Result<(), anyhow::Error> {
async fn perform_runtime_upgrade(
&self,
node: &NetworkNode,
options: RuntimeUpgradeOptions,
) -> Result<(), anyhow::Error> {
let sudo = if let Some(possible_seed) = options.seed {
Keypair::from_secret_key(possible_seed)
.map_err(|_| anyhow!("seed should return a Keypair"))?
Expand Down
5 changes: 3 additions & 2 deletions crates/orchestrator/src/network/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use std::{
str::FromStr,
};

use async_trait::async_trait;
use anyhow::anyhow;
use async_trait::async_trait;
use provider::types::TransferedFile;
use serde::Serialize;
use subxt::{dynamic::Value, tx::TxStatus, OnlineClient, SubstrateConfig};
Expand All @@ -14,7 +14,8 @@ use tracing::info;

use super::{chain_upgrade::ChainUpgrade, node::NetworkNode};
use crate::{
network_spec::parachain::ParachainSpec, shared::types::{RegisterParachainOptions, RuntimeUpgradeOptions},
network_spec::parachain::ParachainSpec,
shared::types::{RegisterParachainOptions, RuntimeUpgradeOptions},
ScopedFilesystem,
};

Expand Down
1 change: 1 addition & 0 deletions crates/orchestrator/src/network/relaychain.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use std::path::PathBuf;

use anyhow::anyhow;
use async_trait::async_trait;
use serde::Serialize;
Expand Down

0 comments on commit 786592d

Please sign in to comment.