Skip to content

Commit

Permalink
Merge pull request #170 from digicatapult/fat/add-l3-genesis
Browse files Browse the repository at this point in the history
 added l3-sqnc genesis
  • Loading branch information
Ellenn-A authored Apr 11, 2024
2 parents 1ab9062 + a02bc69 commit ab35636
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = '2021'
license = 'Apache-2.0'
repository = 'https://github.com/digicatapult/sqnc-node/'
name = 'sqnc-node'
version = '11.2.0'
version = '11.3.0'

[[bin]]
name = 'sqnc-node'
Expand Down
64 changes: 64 additions & 0 deletions node/res/l3-sqnc.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion node/res/prod-l3-azure.json

This file was deleted.

4 changes: 2 additions & 2 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ pub fn development_config() -> Result<ChainSpec, String> {
.build())
}

pub fn l3_prod_config() -> Result<ChainSpec, String> {
ChainSpec::from_json_bytes(&include_bytes!("../res/prod-l3-azure.json")[..])
pub fn l3_sqnc_config() -> Result<ChainSpec, String> {
ChainSpec::from_json_bytes(&include_bytes!("../res/l3-sqnc.json")[..])
}

pub fn local_testnet_config() -> Result<ChainSpec, String> {
Expand Down
2 changes: 1 addition & 1 deletion node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl SubstrateCli for Cli {
Ok(match id {
"dev" => Box::new(chain_spec::development_config()?),
"" | "local" => Box::new(chain_spec::local_testnet_config()?),
"l3-prod" => Box::new(chain_spec::l3_prod_config()?),
"l3-sqnc" => Box::new(chain_spec::l3_sqnc_config()?),
path => Box::new(chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(path))?),
})
}
Expand Down

0 comments on commit ab35636

Please sign in to comment.