Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devnet deploy 11-19-2024 #1001

Merged
merged 17 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/hotfixes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
It looks like you are trying to merge a hotfix PR into `main`. If this isn't what you wanted to do, and you just wanted to make a regular PR, please close this PR, base your changes off the `devnet-ready` branch and open a new PR into `devnet ready`.

If you _are_ trying to merge a hotfix PR, please complete the following essential steps:
1. [ ] go ahead and get this PR into `main` merged, so we can get the change in as quickly as possible!
2. [ ] merge `main` into `testnet`, bumping `spec_version`
3. [ ] deploy `testnet`
4. [ ] merge `testnet` into `devnet`, bumping `spec_version`
5. [ ] deploy `devnet`
6. [ ] merge `devnet` into `devnet-ready`
1. [ ] go ahead and get this PR into \`main\` merged, so we can get the change in as quickly as possible!
2. [ ] merge \`main\` into \`testnet\`, bumping \`spec_version\`
3. [ ] deploy \`testnet\`
4. [ ] merge \`testnet\` into \`devnet\`, bumping \`spec_version\`
5. [ ] deploy \`devnet\`
6. [ ] merge \`devnet\` into \`devnet-ready\`


If you do not complete these steps, your hotfix may be inadvertently removed in the future when branches are promoted to \`main\`, so it is essential that you do so.
Expand Down
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
19 changes: 5 additions & 14 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,25 +106,16 @@ subtensor-custom-rpc-runtime-api = { path = "../pallets/subtensor/runtime-api" }
substrate-build-script-utils = { workspace = true }

[features]
default = [
"rocksdb",
"sql",
"txpool",
]
sql = [
"fc-db/sql",
"fc-mapping-sync/sql",
]
default = ["rocksdb", "sql", "txpool"]
fast-blocks = ["node-subtensor-runtime/fast-blocks"]
sql = ["fc-db/sql", "fc-mapping-sync/sql"]
rocksdb = [
"sc-service/rocksdb",
"fc-db/rocksdb",
"fc-mapping-sync/rocksdb",
"fc-rpc/rocksdb"
]
txpool = [
"fc-rpc/txpool",
"fc-rpc-core/txpool"
"fc-rpc/rocksdb",
]
txpool = ["fc-rpc/txpool", "fc-rpc-core/txpool"]

# Dependencies that are only required if runtime benchmarking should be build.
runtime-benchmarks = [
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
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@

//! This crate exists for linting in CI. Look inside build.rs for reference.
Loading