Skip to content

Commit

Permalink
Merge pull request #999 from opentensor/fix-chainspec-upgrade
Browse files Browse the repository at this point in the history
Fix chainspec upgrade CI action
  • Loading branch information
sam0x17 authored Nov 19, 2024
2 parents 5314b78 + fddde7e commit 779f54a
Show file tree
Hide file tree
Showing 4 changed files with 50,829 additions and 50,843 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/update-chainspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ concurrency:
cancel-in-progress: true

on:
push:
branches: [main, testnet, staging, staging-ready]
pull_request:

workflow_dispatch:
inputs:
Expand All @@ -27,40 +26,27 @@ jobs:

strategy:
matrix:
rust-branch:
- nightly-2024-03-05
rust-target:
- x86_64-unknown-linux-gnu
os:
- ubuntu-latest
include:
- os: ubuntu-latest
env:
RELEASE_NAME: development
RUSTV: ${{ matrix.rust-branch }}
RUST_BACKTRACE: full
RUST_BIN_DIR: target/${{ matrix.rust-target }}
TARGET: ${{ matrix.rust-target }}
steps:
- name: Check-out repository under $GITHUB_WORKSPACE
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update &&
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
- name: Install Rust ${{ matrix.rust-branch }}
uses: actions-rs/toolchain@v1.0.6
with:
toolchain: ${{ matrix.rust-branch }}
components: rustfmt, clippy
profile: minimal

- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2.2.1
with:
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
key: ubuntu-latest-target/x86_64-unknown-linux-gnu

- name: Build chainspecs
run: ./scripts/build_all_chainspecs.sh
Expand Down
101,646 changes: 50,823 additions & 50,823 deletions plain_spec_finney.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions plain_spec_testfinney.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion raw_spec_testfinney.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"properties": {
"ss58Format": 42,
"tokenDecimals": 9,
"tokenSymbol": "TAO"
"tokenSymbol": "testTAO"
},
"forkBlocks": null,
"badBlocks": [],
Expand Down

0 comments on commit 779f54a

Please sign in to comment.