Skip to content

Commit

Permalink
Merge pull request #316 from chexware/runtime-upgrade/polkadot-1.1.0
Browse files Browse the repository at this point in the history
Polkadot Version Upgrade: 1.1.0
  • Loading branch information
justinphamnz authored Apr 3, 2024
2 parents d44448d + 5218a74 commit de7b27f
Show file tree
Hide file tree
Showing 114 changed files with 5,193 additions and 3,441 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/rust-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,16 @@ jobs:
- name: Set-Up
run: sudo apt install -y protobuf-compiler cmake pkg-config libssl-dev git build-essential clang libclang-dev curl

- name: Install Rustup
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env
rustup default nightly && rustup update
rustup default nightly-2023-05-22
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-05-22
- name: Check Rust version
- name: Install Rust version specified in rust-toolchain.toml
run: rustup show

- name: Check Format
run: cargo fmt --all -- --check

- name: Build Benchmarking
run: |
cargo build --release --features runtime-benchmarks
- name: Run Benchmarking
run: |
./target/release/metaverse-node benchmark pallet \
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/rust-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,12 @@ jobs:
- name: Set-Up
run: sudo apt install -y protobuf-compiler cmake pkg-config libssl-dev git build-essential clang libclang-dev curl

- name: Install Rustup
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env
rustup default nightly && rustup update
rustup default nightly-2023-05-22
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-05-22
- name: Check Rust version
run: rustup show
- name: Check Format
- name: Install Rust version specified in rust-toolchain.toml
run: rustup show

- name: Check Formatting
run: cargo fmt --all -- --check

- name: Check Build
run: |
SKIP_WASM_BUILD=1 cargo check --release --features with-pioneer-runtime,with-metaverse-runtime
14 changes: 4 additions & 10 deletions .github/workflows/rust-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,9 @@ jobs:
- name: Set-Up
run: sudo apt install -y protobuf-compiler cmake pkg-config libssl-dev git build-essential clang libclang-dev curl

- name: Install Rustup
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env
rustup default nightly && rustup update
rustup default nightly-2023-05-22
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-05-22
- name: Check Rust version
run: rustup show
- name: Install Rust version specified in rust-toolchain.toml
run: rustup show

- name: Run all test cases
run: |
SKIP_WASM_BUILD= cargo test --all --features with-pioneer-runtime
SKIP_WASM_BUILD= cargo test --all --features with-pioneer-runtime,with-precompile-tests
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
**/target/
# These are backup files generated by rustfmt
**/*.rs.bk

# Zombienet binaries
**/scripts/zombienet/bin/*
.DS_Store

# The cache for docker container dependency
Expand All @@ -15,6 +16,11 @@
# chopsticks DB
db.sqlite

# subalfred
subalfred
# subalfred logs
list

.vscode
*.code-workspace

Expand Down
Loading

0 comments on commit de7b27f

Please sign in to comment.