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

Allow to benchmark HRMP messages from the undying collator #6261

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
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
One more fmt stuff
  • Loading branch information
vstakhov committed Mar 28, 2023
commit 82d48e063ea61246880a3b2c0f58634c9d23adde
10 changes: 4 additions & 6 deletions parachain/test-parachains/undying/collator/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,10 @@ impl SubstrateCli for Cli {
fn load_spec(&self, id: &str) -> std::result::Result<Box<dyn sc_service::ChainSpec>, String> {
let id = if id.is_empty() { "rococo" } else { id };
Ok(match id {
"rococo-staging" => {
Box::new(polkadot_service::chain_spec::rococo_staging_testnet_config()?)
},
"rococo-local" => {
Box::new(polkadot_service::chain_spec::rococo_local_testnet_config()?)
},
"rococo-staging" =>
Box::new(polkadot_service::chain_spec::rococo_staging_testnet_config()?),
"rococo-local" =>
Box::new(polkadot_service::chain_spec::rococo_local_testnet_config()?),
"rococo" => Box::new(polkadot_service::chain_spec::rococo_config()?),
path => {
let path = std::path::PathBuf::from(path);
Expand Down