Skip to content

Commit

Permalink
Remove unused & invalid chainspec/dryRun*.json files
Browse files Browse the repository at this point in the history
originally introduced in
#397

however currently not needed according to Beqa.
  • Loading branch information
atodorov committed Jan 27, 2025
1 parent d252981 commit e827472
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions chainspecs/dryRunSpec.json

This file was deleted.

3 changes: 0 additions & 3 deletions chainspecs/dryRunSpecRaw.json

This file was deleted.

4 changes: 0 additions & 4 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,6 @@ pub fn testnet_config() -> Result<ChainSpec, String> {
ChainSpec::from_json_bytes(&include_bytes!("../../chainspecs/testnetSpecRaw.json")[..])
}

pub fn dry_run_config() -> Result<ChainSpec, String> {
ChainSpec::from_json_bytes(&include_bytes!("../../chainspecs/dryRunSpecRaw.json")[..])
}

pub fn mainnet_config() -> Result<ChainSpec, String> {
ChainSpec::from_json_bytes(&include_bytes!("../../chainspecs/mainnetSpecRaw.json")[..])
}
Expand Down
1 change: 0 additions & 1 deletion node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ impl SubstrateCli for Cli {
"devnet" => Box::new(chain_spec::devnet_config()?),
"testnet" => Box::new(chain_spec::testnet_config()?),
"" | "local" => Box::new(chain_spec::local_testnet_config()),
"dryrun" => Box::new(chain_spec::dry_run_config()?),
"mainnet" => Box::new(chain_spec::mainnet_config()?),
path => Box::new(chain_spec::ChainSpec::from_json_file(
std::path::PathBuf::from(path),
Expand Down

0 comments on commit e827472

Please sign in to comment.