Skip to content

Commit

Permalink
Merge pull request #74 from paseo-network/al3mart/fix-paseo-spec-gen
Browse files Browse the repository at this point in the history
fix(chain-spec): amend developent and local spec naming
  • Loading branch information
hbulgarini authored May 17, 2024
2 parents 427e1af + 6c9855e commit cf41772
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions chain-spec-generator/src/relay_chain_specs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,14 @@ fn paseo_development_config_genesis() -> serde_json::Value {
)
}

/// Polkadot development config (single validator Alice)
/// Paseo development config (single validator Alice)
pub fn paseo_development_config() -> Result<Box<dyn ChainSpec>, String> {
Ok(Box::new(
PaseoChainSpec::builder(
paseo_runtime::WASM_BINARY.ok_or("Polkadot development wasm not available")?,
paseo_runtime::WASM_BINARY.ok_or("Paseo development wasm not available")?,
Default::default(),
)
.with_name("Polakdot Development")
.with_name("Paseo Development")
.with_id("paseo-dev")
.with_chain_type(ChainType::Development)
.with_genesis_config_patch(paseo_development_config_genesis())
Expand All @@ -254,14 +254,14 @@ fn paseo_local_testnet_genesis() -> serde_json::Value {
)
}

/// Polkadot local testnet config (multivalidator Alice + Bob)
/// Paseo local testnet config (multivalidator Alice + Bob)
pub fn paseo_local_testnet_config() -> Result<Box<dyn ChainSpec>, String> {
Ok(Box::new(
PaseoChainSpec::builder(
paseo_runtime::WASM_BINARY.ok_or("Polkadot development wasm not available")?,
paseo_runtime::WASM_BINARY.ok_or("Paseo development wasm not available")?,
Default::default(),
)
.with_name("Polkadot Local Testnet")
.with_name("Paseo Local Testnet")
.with_id("paseo-local")
.with_chain_type(ChainType::Local)
.with_genesis_config_patch(paseo_local_testnet_genesis())
Expand Down
2 changes: 1 addition & 1 deletion relay/paseo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "paseo-runtime"
build = "build.rs"
repository.workspace = true
version.workspace = true
version = "1.2.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion system-parachains/asset-hub-paseo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition.workspace = true
license.workspace = true
name = "asset-hub-paseo-runtime"
repository.workspace = true
version.workspace = true
version = "1.1.2"

[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
Expand Down

0 comments on commit cf41772

Please sign in to comment.