mirror of
https://github.com/serai-dex/serai.git
synced 2025-04-22 22:18:15 +00:00
Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of mine with some historical meaning.
This commit is contained in:
parent
131355b10f
commit
63df908d3b
2 changed files with 2 additions and 2 deletions
substrate/node/src
|
@ -45,7 +45,7 @@ pub fn development_config() -> Result<ChainSpec, &'static str> {
|
|||
// Name
|
||||
"Development Network",
|
||||
// ID
|
||||
"dev",
|
||||
"devnet",
|
||||
ChainType::Development,
|
||||
|| {
|
||||
testnet_genesis(
|
||||
|
|
|
@ -38,7 +38,7 @@ impl SubstrateCli for Cli {
|
|||
|
||||
fn load_spec(&self, id: &str) -> Result<Box<dyn sc_service::ChainSpec>, String> {
|
||||
match id {
|
||||
"dev" => Ok(Box::new(chain_spec::development_config()?)),
|
||||
"dev" | "devnet" => Ok(Box::new(chain_spec::development_config()?)),
|
||||
"local" => Ok(Box::new(chain_spec::testnet_config()?)),
|
||||
_ => panic!("Unknown network ID"),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue