Skip to content

Commit

Permalink
Kreivo de Paseo (#417)
Browse files Browse the repository at this point in the history
* change(virto-node/kreivo-runtime): configurations for releasing in paseo/kusama

* change(zombienet): local configurations for spawning zombienet

* change(zombienet): update zombienet specs

* change(node): add initial collator / improve readibility of accounts from addresses

* change: adjust chainspec and zombienet settings

* fix(pallet-payments): lint

* change(node/chain-spec): embed live chainspec for kreivo in Paseo
  • Loading branch information
pandres95 authored Sep 17, 2024
1 parent 497334f commit 7c447e4
Show file tree
Hide file tree
Showing 15 changed files with 390 additions and 311 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ substrate-build-script-utils = {workspace = true}

[features]
default = []
paseo = [
"kreivo-runtime/paseo"
]
runtime-benchmarks = [
"cumulus-primitives-core/runtime-benchmarks",
"frame-benchmarking-cli/runtime-benchmarks",
Expand Down
210 changes: 0 additions & 210 deletions node/src/chain_spec/kreivo.rs

This file was deleted.

File renamed without changes.
52 changes: 52 additions & 0 deletions node/src/chain_spec/kreivo/kreivo_paseador_chainspec.json

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions node/src/chain_spec/kreivo/live.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
use super::*;

#[cfg(not(feature = "paseo"))]
pub fn chain_spec() -> ChainSpec {
ChainSpec::from_json_bytes(include_bytes!("./kreivo_kusama_chainspec.json").as_slice()).unwrap()
}

#[cfg(feature = "paseo")]
use sp_core::crypto::Ss58Codec;

#[cfg(feature = "paseo")]
pub fn chain_spec() -> ChainSpec {
ChainSpec::from_json_bytes(include_bytes!("./kreivo_paseador_chainspec.json").as_slice()).unwrap()
}
Loading

0 comments on commit 7c447e4

Please sign in to comment.