Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add paseo network --chain option and chain spec #2668

Merged
merged 21 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
7890a24
paseo chain option & unimplemented spec
al3mart Dec 9, 2023
191acb8
Merge branch 'master' into al3mart/add-paseo
al3mart Jan 16, 2024
3b3eec4
Add paseo raw chainpsec
al3mart Jan 17, 2024
caeace8
Merge branch 'master' into al3mart/add-paseo
al3mart Jan 17, 2024
d923f89
new bootnodes 4 paseo
al3mart Jan 26, 2024
410b906
Merge branch 'master' into al3mart/add-paseo
al3mart Jan 26, 2024
d175578
Merge branch 'master' into al3mart/add-paseo
ggwpez Jan 26, 2024
59147a5
Merge branch 'master' into al3mart/add-paseo
bkchr Jan 26, 2024
8546fcd
Bump the known_good_semver group with 1 update (#3069)
dependabot[bot] Jan 26, 2024
b432d63
Fix Pools 6->7 migration (#2942)
ggwpez Jan 26, 2024
a9434fa
Sync Cargo.toml and crates.io versions (#3034)
liamaharon Jan 26, 2024
94ed4e5
Release Process (#2490)
ggwpez Jan 26, 2024
51d9627
contracts: Fix printing the `Schedule` (#3021)
athei Jan 26, 2024
ecb3d5c
Enable cross-chain Coretime region transfers (#3077)
Szegoo Jan 27, 2024
d6235f2
Add `(Partial)OrdNoBound` derive macros (#2256)
adelarja Jan 27, 2024
272af77
Removes the `Default` implementation for `RewardDestination` (#2402)
gpestana Jan 27, 2024
632a655
Serialize/Deserialize trait implemented in no-std for XCM assets (#3057)
fgamundi Jan 28, 2024
e738628
Bump polkavm-derive from 0.4.0 to 0.5.0 (#3011)
dependabot[bot] Jan 28, 2024
6baf432
proposer bootnode list
al3mart Jan 29, 2024
ea113a1
make md linter happy
al3mart Jan 29, 2024
09dc0cd
Merge branch 'master' into al3mart/add-paseo
acatangiu Jan 29, 2024
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
1 change: 1 addition & 0 deletions polkadot/cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ impl SubstrateCli for Cli {
"polkadot" => Box::new(service::chain_spec::polkadot_config()?),
name if name.starts_with("polkadot-") && !name.ends_with(".json") =>
Err(format!("`{name}` is not supported anymore as the polkadot native runtime no longer part of the node."))?,
"paseo" => Box::new(service::chain_spec::paseo_config()?),
bkchr marked this conversation as resolved.
Show resolved Hide resolved
"rococo" => Box::new(service::chain_spec::rococo_config()?),
#[cfg(feature = "rococo-native")]
"dev" | "rococo-dev" => Box::new(service::chain_spec::rococo_development_config()?),
Expand Down
225 changes: 225 additions & 0 deletions polkadot/node/service/chain-specs/paseo.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions polkadot/node/service/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ pub fn westend_config() -> Result<WestendChainSpec, String> {
WestendChainSpec::from_json_bytes(&include_bytes!("../chain-specs/westend.json")[..])
}

pub fn paseo_config() -> Result<GenericChainSpec, String> {
GenericChainSpec::from_json_bytes(&include_bytes!("../chain-specs/paseo.json")[..])
}

pub fn rococo_config() -> Result<RococoChainSpec, String> {
RococoChainSpec::from_json_bytes(&include_bytes!("../chain-specs/rococo.json")[..])
}
Expand Down
Loading