Skip to content

Commit

Permalink
Change litentry chain spec with heima (#3240)
Browse files Browse the repository at this point in the history
* feat: change litentry chain spec with heima

* Adjust chain-spec of heima and paseo (#3248)

* try to fix chain spec

* revert

* adjust impl name

* fix fmt

* try to fix the sig error

* no need to setup node

* try to use latest corepack

---------

Co-authored-by: Kai <[email protected]>
Co-authored-by: Kailai-Wang <[email protected]>
  • Loading branch information
3 people authored Feb 5, 2025
1 parent f7a577d commit 005845e
Show file tree
Hide file tree
Showing 14 changed files with 54 additions and 659 deletions.
36 changes: 28 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,13 @@ jobs:
run: |
cargo fmt --all -- --check
- name: Enable corepack and pnpm
run: corepack enable && corepack enable pnpm
- name: Use Latest Corepack
run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
npm install -g corepack@latest
echo "After : corepack version => $(corepack --version)"
corepack enable && corepack enable pnpm
pnpm --version
- name: identity-worker ts-tests install npm deps
working-directory: ./tee-worker/identity/ts-tests
Expand Down Expand Up @@ -587,8 +592,13 @@ jobs:
run: |
docker load < litentry-parachain-dev.tar.gz
- name: Enable corepack and pnpm
run: corepack enable && corepack enable pnpm
- name: Use Latest Corepack
run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
npm install -g corepack@latest
echo "After : corepack version => $(corepack --version)"
corepack enable && corepack enable pnpm
pnpm --version
- name: Run ts tests for ${{ matrix.chain }}
if: needs.set-condition.outputs.run_parachain_test == 'true'
Expand Down Expand Up @@ -728,8 +738,13 @@ jobs:
docker load < litentry-identity.tar.gz
docker images
- name: Enable corepack and pnpm
run: corepack enable && corepack enable pnpm
- name: Use Latest Corepack
run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
npm install -g corepack@latest
echo "After : corepack version => $(corepack --version)"
corepack enable && corepack enable pnpm
pnpm --version
- name: Launch parachain network
run: |
Expand Down Expand Up @@ -815,8 +830,13 @@ jobs:
docker load < litentry-identity.tar.gz
docker images
- name: Enable corepack and pnpm
run: corepack enable && corepack enable pnpm
- name: Use Latest Corepack
run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
npm install -g corepack@latest
echo "After : corepack version => $(corepack --version)"
corepack enable && corepack enable pnpm
pnpm --version
- name: Launch parachain network
run: |
Expand Down
8 changes: 4 additions & 4 deletions parachain/node/res/chain_specs/litentry-plain.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"name": "Litentry",
"name": "Heima",
"id": "litentry",
"chainType": "Live",
"bootNodes": [
"/dns/rpc0.litentry-parachain-sg.litentry.io/tcp/40333/ws/p2p/12D3KooWBy6nNAuca2ZrxNEH93bzmb7ZjRpzRbbz7CtNEraiHtSC",
"/dns/rpc1.litentry-parachain-sg.litentry.io/tcp/40333/ws/p2p/12D3KooWJejFQVK5wtZeDZguAXkzQxngrS9yZt2F1bk92m5w4Xgp"
"/dns/rpc1.litentry-parachain-sg.litentry.io/tcp/40333/ws/p2p/12D3KooWJejFQVK5wtZeDZguAXkzQxngrS9yZt2F1bk92m5w4Xgp",
"/dns/litentry-boot.dwellir.com/tcp/30333/ws/p2p/12D3KooWFHkJaz1BxqdAjzeLK4xcubxXP25kTaYWZqsJukuex5Ly"
],
"telemetryEndpoints": [
[
"/dns/telemetry.polkadot.io/tcp/443/x-parity-wss/%2Fsubmit%2F",
0
]
],
"protocolId": "litentry",
"properties": {
"ss58Format": 31,
"tokenDecimals": 18,
"tokenSymbol": "LIT"
"tokenSymbol": "HEI"
},
"relayChain": "polkadot",
"paraId": 2013,
Expand Down
5 changes: 2 additions & 3 deletions parachain/node/res/chain_specs/litentry.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Litentry",
"name": "Heima",
"id": "litentry",
"chainType": "Live",
"bootNodes": [
Expand All @@ -13,11 +13,10 @@
0
]
],
"protocolId": "litentry",
"properties": {
"ss58Format": 31,
"tokenDecimals": 18,
"tokenSymbol": "LIT"
"tokenSymbol": "HEI"
},
"relayChain": "polkadot",
"paraId": 2013,
Expand Down
5 changes: 2 additions & 3 deletions parachain/node/res/chain_specs/paseo-plain.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Litentry-paseo",
"name": "Heima-paseo",
"id": "litentry-paseo",
"chainType": "Live",
"bootNodes": [
Expand All @@ -11,11 +11,10 @@
0
]
],
"protocolId": "litentry-paseo",
"properties": {
"ss58Format": 131,
"tokenDecimals": 18,
"tokenSymbol": "LIT"
"tokenSymbol": "HEI"
},
"relayChain": "paseo",
"paraId": 2106,
Expand Down
5 changes: 2 additions & 3 deletions parachain/node/res/chain_specs/paseo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Litentry-paseo",
"name": "Heima-paseo",
"id": "litentry-paseo",
"chainType": "Live",
"bootNodes": [
Expand All @@ -11,11 +11,10 @@
0
]
],
"protocolId": "litentry-paseo",
"properties": {
"ss58Format": 131,
"tokenDecimals": 18,
"tokenSymbol": "LIT"
"tokenSymbol": "HEI"
},
"relayChain": "paseo",
"paraId": 2106,
Expand Down
119 changes: 0 additions & 119 deletions parachain/node/res/chain_specs/rococo-plain.json

This file was deleted.

Loading

0 comments on commit 005845e

Please sign in to comment.