Skip to content

Commit

Permalink
fix: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexD10S committed Dec 13, 2024
1 parent 0f0fb1a commit c335561
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion crates/pop-cli/src/commands/call/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub struct CallChainCommand {
#[arg(short, long)]
suri: Option<String>,
/// Use your browser wallet to sign the extrinsic.
#[clap(name = "use-wallet", long, default_value = "false", conflicts_with = "suri")]
#[arg(name = "use-wallet", long, default_value = "false", conflicts_with = "suri")]
use_wallet: bool,
/// SCALE encoded bytes representing the call data of the extrinsic.
#[arg(name = "call", short, long, conflicts_with_all = ["pallet", "function", "args"])]
Expand Down
10 changes: 4 additions & 6 deletions crates/pop-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,16 @@ pub fn target() -> Result<&'static str, Error> {
}

match ARCH {
"aarch64" => {
"aarch64" =>
return match OS {
"macos" => Ok("aarch64-apple-darwin"),
_ => Ok("aarch64-unknown-linux-gnu"),
}
},
"x86_64" | "x86" => {
},
"x86_64" | "x86" =>
return match OS {
"macos" => Ok("x86_64-apple-darwin"),
_ => Ok("x86_64-unknown-linux-gnu"),
}
},
},
&_ => {},
}
Err(Error::UnsupportedPlatform { arch: ARCH, os: OS })
Expand Down
4 changes: 2 additions & 2 deletions crates/pop-parachains/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ pub fn is_supported(path: Option<&Path>) -> Result<bool, Error> {
const DEPENDENCIES: [&str; 4] =
["cumulus-client-collator", "cumulus-primitives-core", "parachains-common", "polkadot-sdk"];
Ok(DEPENDENCIES.into_iter().any(|d| {
manifest.dependencies.contains_key(d)
|| manifest.workspace.as_ref().map_or(false, |w| w.dependencies.contains_key(d))
manifest.dependencies.contains_key(d) ||
manifest.workspace.as_ref().map_or(false, |w| w.dependencies.contains_key(d))
}))
}

Expand Down

0 comments on commit c335561

Please sign in to comment.