Skip to content

Commit 4d65f32

Browse files
committed
update
2 parents 7bca0f1 + c40da61 commit 4d65f32

File tree

191 files changed

+17162
-16622
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+17162
-16622
lines changed

.devcontainer/Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,4 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
66

77
USER vscode
88

9-
RUN rustup default nightly-2023-04-15 && \
10-
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-04-15
11-
12-
RUN rustup component add rustfmt
13-
149
RUN git config --global submodule.recurse true

.github/workflows/benchmark.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,15 @@ jobs:
8080
~/.cargo/git/db/
8181
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
8282
- name: Install toolchain
83-
uses: actions-rs/toolchain@v1
84-
with:
85-
profile: minimal
86-
toolchain: nightly-2023-04-15
87-
components: rustfmt
88-
target: wasm32-unknown-unknown
89-
default: true
83+
uses: dtolnay/rust-toolchain@nightly
9084
- name: Install weight-gen
9185
run: cargo install --git https://github.com/open-web3-stack/wasm-bencher.git --bin weight-gen --force
9286
- name: Setup cmake
9387
uses: jwlawson/actions-setup-cmake@v1.12
9488
- name: Use Node.js
95-
uses: actions/setup-node@v2
89+
uses: actions/setup-node@v4
9690
with:
97-
node-version: 16.x
91+
node-version: 18.x
9892
- name: Run benchmarks
9993
run: ${{steps.command.outputs.result}} > ${{runner.temp}}/out.txt
10094
- name: Commit

.github/workflows/coverage.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ jobs:
4848
tar -zxvf cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz -C $HOME/.cargo/bin
4949
cargo tarpaulin -v --no-fail-fast --implicit-test-threads --workspace \
5050
-e acala-inspect \
51-
acala acala-cli e2e-tests acala-service \
51+
acala acala-cli acala-service \
5252
acala-primitives \
5353
acala-rpc \
5454
acala-runtime runtime-common runtime-integration-tests karura-runtime mandala-runtime \
55-
test-service \
5655
--exclude-files **/mock.rs **/weights.rs **/weights/*
5756
- name: Upload to codecov.io
5857
uses: codecov/codecov-action@v3

.github/workflows/extrinsic-ordering-check-from-bin.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
- uses: actions/checkout@v3
3131
with:
3232
submodules: recursive
33-
- uses: actions/setup-node@v3
33+
- uses: actions/setup-node@v4
3434
with:
35-
node-version: '14.x'
35+
node-version: '18.x'
3636
registry-url: 'https://registry.npmjs.org'
3737

3838
- name: Install Yarn

.github/workflows/extrinsic-ordering-check-on-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
if: ${{ env.CHAIN == '' || env.VERSION == '' || env.PREVIOUS_VERSION == '' }}
5050
run: python .github/scripts/extrinsic_check_setup_env.py
5151

52-
- uses: actions/setup-node@v3
52+
- uses: actions/setup-node@v4
5353
with:
54-
node-version: '14.x'
54+
node-version: '18.x'
5555
registry-url: 'https://registry.npmjs.org'
5656

5757
- name: Install Yarn

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
# Build WASM with Substrate Runtime Tool
7070
- name: Srtool build
7171
id: srtool_build
72-
uses: chevdor/srtool-actions@v0.7.0
72+
uses: chevdor/srtool-actions@v0.9.0
7373
env:
7474
BUILD_OPTS: "--features on-chain-release-build,no-metadata-docs"
7575
with:

.github/workflows/test.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
env:
2525
CARGO_INCREMENTAL: 0
2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
with:
2929
submodules: recursive
3030
- uses: actions/cache@v3
@@ -45,8 +45,6 @@ jobs:
4545
run: cargo +nightly fmt --all -- --check
4646
- name: Build
4747
run: make build-all
48-
- name: Install clippy
49-
run: rustup component add clippy
5048
- name: Run mandala-runtime clippy
5149
run: cargo clippy --features with-mandala-runtime -- -D warnings
5250
- name: Run karura-runtime clippy
@@ -60,7 +58,7 @@ jobs:
6058
env:
6159
CARGO_INCREMENTAL: 0
6260
steps:
63-
- uses: actions/checkout@v3
61+
- uses: actions/checkout@v4
6462
with:
6563
submodules: recursive
6664
- uses: actions/cache@v3
@@ -84,7 +82,7 @@ jobs:
8482
env:
8583
CARGO_INCREMENTAL: 0
8684
steps:
87-
- uses: actions/checkout@v3
85+
- uses: actions/checkout@v4
8886
with:
8987
submodules: recursive
9088
- uses: actions/cache@v3
@@ -116,7 +114,7 @@ jobs:
116114
env:
117115
CARGO_INCREMENTAL: 0
118116
steps:
119-
- uses: actions/checkout@v3
117+
- uses: actions/checkout@v4
120118
with:
121119
submodules: recursive
122120
- uses: actions/cache@v3
@@ -131,12 +129,10 @@ jobs:
131129
uses: dtolnay/rust-toolchain@nightly
132130
- name: Setup cmake
133131
uses: jwlawson/actions-setup-cmake@v1.13
134-
- name: Run e2e tests
135-
run: make test-e2e
136132
- name: Use Node.js
137-
uses: actions/setup-node@v3
133+
uses: actions/setup-node@v4
138134
with:
139-
node-version: 16.x
135+
node-version: 18.x
140136
- name: Run ts tests
141137
run: |
142138
npm install -g yarn

.github/workflows/test.yml.src

Lines changed: 0 additions & 109 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
__pycache__
1616

1717
ts-tests/cache/
18+
ts-tests/.yarn
1819
ts-tests/node_modules/

0 commit comments

Comments
 (0)