Skip to content

Commit

Permalink
Reborn Shibuya on 0.9.16 relay (#575)
Browse files Browse the repository at this point in the history
* [CI] use latest nix channel

* Added Osaka relay chainspec

* Added Osaka relay bootnodes

* Update Osaka relay bootnodes
  • Loading branch information
akru authored Feb 21, 2022
1 parent 16a03dd commit a341846
Show file tree
Hide file tree
Showing 8 changed files with 353 additions and 381 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
submodules: true
- uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-20.09
nix_path: nixpkgs=channel:nixos-21.11
- run: nix-shell third-party/nix/shell.nix --run "cargo build --release"

docker:
Expand Down
186 changes: 186 additions & 0 deletions bin/collator/res/osaka.json

Large diffs are not rendered by default.

162 changes: 162 additions & 0 deletions bin/collator/res/osaka.raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/collator/res/shibuya.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"tokenDecimals": 18,
"tokenSymbol": "SBY"
},
"relayChain": "tokyo",
"relayChain": "osaka",
"paraId": 1000,
"consensusEngine": null,
"codeSubstitutes": {},
Expand Down
2 changes: 1 addition & 1 deletion bin/collator/res/shibuya.raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"tokenDecimals": 18,
"tokenSymbol": "SBY"
},
"relayChain": "tokyo",
"relayChain": "osaka",
"paraId": 1000,
"consensusEngine": null,
"codeSubstitutes": {},
Expand Down
202 changes: 0 additions & 202 deletions bin/collator/res/tokyo.json

This file was deleted.

174 changes: 0 additions & 174 deletions bin/collator/res/tokyo.raw.json

This file was deleted.

4 changes: 2 additions & 2 deletions bin/collator/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ impl SubstrateCli for RelayChainCli {
)
.unwrap(),
))
} else if id == "tokyo" {
} else if id == "osaka" {
Ok(Box::new(
polkadot_service::WestendChainSpec::from_json_bytes(
&include_bytes!("../res/tokyo.raw.json")[..],
&include_bytes!("../res/osaka.raw.json")[..],
)
.unwrap(),
))
Expand Down

0 comments on commit a341846

Please sign in to comment.