Skip to content

Commit 779f54a

Browse files
authored
Merge pull request #999 from opentensor/fix-chainspec-upgrade
Fix chainspec upgrade CI action
2 parents 5314b78 + fddde7e commit 779f54a

File tree

4 files changed

+50829
-50843
lines changed

4 files changed

+50829
-50843
lines changed

.github/workflows/update-chainspec.yml

+3-17
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ concurrency:
55
cancel-in-progress: true
66

77
on:
8-
push:
9-
branches: [main, testnet, staging, staging-ready]
8+
pull_request:
109

1110
workflow_dispatch:
1211
inputs:
@@ -27,40 +26,27 @@ jobs:
2726

2827
strategy:
2928
matrix:
30-
rust-branch:
31-
- nightly-2024-03-05
3229
rust-target:
3330
- x86_64-unknown-linux-gnu
3431
os:
3532
- ubuntu-latest
3633
include:
3734
- os: ubuntu-latest
3835
env:
39-
RELEASE_NAME: development
40-
RUSTV: ${{ matrix.rust-branch }}
4136
RUST_BACKTRACE: full
42-
RUST_BIN_DIR: target/${{ matrix.rust-target }}
43-
TARGET: ${{ matrix.rust-target }}
4437
steps:
4538
- name: Check-out repository under $GITHUB_WORKSPACE
46-
uses: actions/checkout@v2
39+
uses: actions/checkout@v4
4740

4841
- name: Install dependencies
4942
run: |
5043
sudo apt-get update &&
5144
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
5245
53-
- name: Install Rust ${{ matrix.rust-branch }}
54-
uses: actions-rs/toolchain@v1.0.6
55-
with:
56-
toolchain: ${{ matrix.rust-branch }}
57-
components: rustfmt, clippy
58-
profile: minimal
59-
6046
- name: Utilize Shared Rust Cache
6147
uses: Swatinem/rust-cache@v2.2.1
6248
with:
63-
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
49+
key: ubuntu-latest-target/x86_64-unknown-linux-gnu
6450

6551
- name: Build chainspecs
6652
run: ./scripts/build_all_chainspecs.sh

plain_spec_finney.json

+50,823-50,823
Large diffs are not rendered by default.

plain_spec_testfinney.json

+2-2
Large diffs are not rendered by default.

raw_spec_testfinney.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"properties": {
1111
"ss58Format": 42,
1212
"tokenDecimals": 9,
13-
"tokenSymbol": "TAO"
13+
"tokenSymbol": "testTAO"
1414
},
1515
"forkBlocks": null,
1616
"badBlocks": [],

0 commit comments

Comments
 (0)