Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JuaniRios committed Jun 27, 2024
1 parent b284b15 commit d2196ca
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion chain-specs/paseo/polimec-paseo.genesis.state
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0x000000000000000000000000000000000000000000000000000000000000000000f14253e01290511c5c35fcdf2b61898534af6f9d30f7d867dcec6f4f9d2f87ca03170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c11131400
0x000000000000000000000000000000000000000000000000000000000000000000be0fc3e18389505d7e783ed4db6f645987db5f6152f05944e27068a4a26917b703170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c11131400
2 changes: 1 addition & 1 deletion chain-specs/paseo/polimec-paseo.genesis.wasm

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions chain-specs/paseo/polimec-paseo.spec.plain.json

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions chain-specs/paseo/polimec-paseo.spec.raw.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions nodes/parachain/src/chain_spec/polimec_paseo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ pub fn get_live_chain_spec() -> GenericChainSpec {
let genesis_config_params = GenesisConfigParams {
stakers: vec![col_acc_1.clone(), col_acc_2.clone(), col_acc_3.clone()],
council_members: vec![sudo_acc.clone()],
technical_committee_members: vec![sudo_acc],
technical_committee_members: vec![sudo_acc.clone()],
oracle_members: vec![col_acc_1, col_acc_2, col_acc_3],
endowed_accounts,
funding_assets_owner: alice(),
funding_assets_owner: sudo_acc,
id: 3344u32.into(),
};

Expand Down
5 changes: 1 addition & 4 deletions nodes/parachain/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,12 @@ use crate::{
fn load_spec(id: &str) -> std::result::Result<Box<dyn ChainSpec>, String> {
log::info!("Load spec id: {}", id);
let polimec_chain_spec = include_bytes!("../../../chain-specs/polkadot/polimec-raw-chain-spec.json").to_vec();
let rolimec_chain_spec = include_bytes!("../../../chain-specs/rococo/rawlimec.json").to_vec();
let polimec_paseo_spec = include_bytes!("../../../chain-specs/paseo/polimec-paseo.spec.raw.json").to_vec();

Ok(match id {
// Original live Polimec runtimes
"polimec" => Box::new(chain_spec::common::ChainSpec::from_json_bytes(polimec_chain_spec)?),
"rolimec" => Box::new(chain_spec::common::ChainSpec::from_json_bytes(rolimec_chain_spec)?),
// "polimec-paseo" => Box::new(chain_spec::common::ChainSpec::from_json_bytes(polimec_paseo_spec)?),
"polimec-paseo" => Box::new(chain_spec::polimec_paseo::get_live_chain_spec()),
"polimec-paseo" => Box::new(chain_spec::common::ChainSpec::from_json_bytes(polimec_paseo_spec)?),

// Testing runtimes
"polimec-paseo-local" => Box::new(chain_spec::polimec_paseo::get_local_chain_spec()),
Expand Down

0 comments on commit d2196ca

Please sign in to comment.