Skip to content

Commit

Permalink
Koi testnet (#1506)
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier authored May 29, 2024
1 parent 4fce0cc commit c773c64
Show file tree
Hide file tree
Showing 84 changed files with 339 additions and 367 deletions.
2 changes: 1 addition & 1 deletion .github/shrink-cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ done

# ---

for r in darwinia crab pangolin
for r in darwinia crab koi
do
rm -rf target/${PROFILE}/wbuild/${r}-runtime 2> /dev/null || true
done
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
strategy:
matrix:
runtime:
[runtime/darwinia, runtime/crab, runtime/pangolin]
[runtime/darwinia, runtime/crab, runtime/koi]
runs-on: ubuntu-latest
steps:
- name: Fetch latest code
Expand Down Expand Up @@ -138,8 +138,8 @@ jobs:
compare-with: "https://crab-rpc.darwiniacommunitydao.xyz",
},
{
chain: pangolin-dev,
compare-with: "https://pangolin-rpc.darwinia.network",
chain: koi-dev,
compare-with: "https://koi-rpc.darwinia.network",
},
]
needs: [basic-checks]
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
chmod u+x darwinia
sudo mv darwinia /usr/bin
- name: Launch darwinia
run: darwinia --chain pangolin-dev --tmp --alice --tracing-api debug,trace --frontier-backend-type sql &
run: darwinia --chain koi-dev --tmp --alice --tracing-api debug,trace --frontier-backend-type sql &
- name: Install Node 19
uses: actions/setup-node@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
features: darwinia-native,crab-native,evm-tracing
type: tracing
- network: testnet
features: pangolin-native
features: koi-native
bz2: true
- network: testnet
features: pangolin-native,evm-tracing
features: koi-native,evm-tracing
type: tracing
steps:
- name: Free disk space
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
type: mainnet
- name: crab
type: mainnet
- name: pangolin
- name: koi
type: testnet
steps:
- name: Fetch latest code
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
cat crab-runtime/runtime.md >> node.md
cat node.tmp.md >> node.md
else
cat pangolin-runtime/runtime.md >> node.md
cat koi-runtime/runtime.md >> node.md
cat node.tmp.md >> node.md
fi
- name: Hash file
Expand Down
210 changes: 105 additions & 105 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ darwinia-staking-traits = { path = "pallet/staking/traits", default-fe
dc-inflation = { path = "core/inflation", default-features = false }
dc-primitives = { path = "core/primitives", default-features = false }
dc-types = { path = "core/types" }
pangolin-runtime = { path = "runtime/pangolin" }
koi-runtime = { path = "runtime/koi" }

# frontier
fc-api = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v1.1.0" }
Expand Down
16 changes: 8 additions & 8 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ command = "target/release/darwinia"
env = { "FLAGS" = "--chain crab-dev" }
extend = "common-run"

[tasks.build-pangolin]
[tasks.build-koi]
command = "cargo"
env = { "FEATURES" = "pangolin-native" }
env = { "FEATURES" = "koi-native" }
extend = "common-build"
[tasks.cbuild-pangolin]
[tasks.cbuild-koi]
command = "cross"
env = { "FEATURES" = "pangolin-native" }
env = { "FEATURES" = "koi-native" }
extend = "common-build"
[tasks.run-pangolin]
[tasks.run-koi]
command = "target/release/darwinia"
env = { "FLAGS" = "--chain pangolin-dev" }
env = { "FLAGS" = "--chain koi-dev" }
extend = "common-run"

# Build for runtime benchmarks.
Expand Down Expand Up @@ -111,11 +111,11 @@ extend = "common-build"
# Build for testnets.
[tasks.build-tns]
command = "cargo"
env = { "FEATURES" = "pangolin-native" }
env = { "FEATURES" = "koi-native" }
extend = "common-build"
[tasks.cbuild-tns]
command = "cross"
env = { "FEATURES" = "pangolin-native" }
env = { "FEATURES" = "koi-native" }
extend = "common-build"

# Build for mainnets.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This repo contains the following networks:

* the **[Darwinia Main Network](https://docs.darwinia.network/evm/chains/darwinia/)**, the parachain on the Polkadot.
* the **[Crab Main Network](https://docs.darwinia.network/evm/chains/crab/)**, the parachain on the Kusama.
* the **[Pangolin Test Network](https://docs.darwinia.network/evm/chains/pangolin/)**, the official testnet for production networks, the parachain on the Rococo.
* the **[Koi Test Network](https://docs.darwinia.network/evm/chains/koi/)**, the official testnet for production networks, the parachain on the Rococo.

## Other Projects

Expand Down
Loading

0 comments on commit c773c64

Please sign in to comment.