Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0896596
fix: benchmarks script (#863)
Ad96el Feb 19, 2025
67c3d65
fix: email (#864)
Ad96el Feb 19, 2025
832af66
fix: ci integration tests chopsticks (#839)
Ad96el Mar 25, 2025
9e21cab
fix: remove messageQueue (#877)
Ad96el Mar 27, 2025
368399f
chore: update deny rules (#878)
Ad96el Mar 28, 2025
c0f126e
chore: fix bootnode id (#879)
ggera Mar 28, 2025
a6e5aa2
chore(deps): update ring (#881)
rflechtner Apr 1, 2025
8721e6a
chore(deps): bump tokio due to RUSTSEC-2025-0023 (#883)
rflechtner Apr 24, 2025
5f0b75e
refactor: bonded coins audit fixes (#873)
rflechtner Apr 30, 2025
c8ae0f4
feat: Permissioned collators (#882)
Ad96el Apr 30, 2025
ffaaa10
feat: deflation (#884)
Ad96el May 6, 2025
80b1bbe
chore: wasmtime (#886)
Ad96el May 6, 2025
d3e5562
chore: apply review changes (#887)
Ad96el May 16, 2025
ff4b170
chore: polkadotstable-2409-5 (#885)
Ad96el May 19, 2025
e44405b
fix: client implementation (#889)
Ad96el May 19, 2025
0783b3f
fix: Runtime `cargo.toml` (#890)
abdulmth May 20, 2025
422ac05
version 16
abdulmth May 20, 2025
539a5f0
hotfix benchmarks
Ad96el May 20, 2025
9d91f4d
Merge branch 'release-1.16.0' of github.com:KILTprotocol/kilt-node in…
Ad96el May 20, 2025
2674104
fix: runtime api (#892)
Ad96el May 26, 2025
be6d752
1.16.1
Ad96el May 26, 2025
0bc2e38
fix version in cargo.toml
abdulmth May 26, 2025
0a7729b
update cargo.lock
abdulmth May 26, 2025
b0e512c
fix peregrine ismp configurations
abdulmth Jun 17, 2025
2d1ca42
remove migrations
abdulmth Jun 17, 2025
cce33c6
update version to 1.16.2
abdulmth Jun 17, 2025
a60e105
format
abdulmth Jun 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 14 additions & 5 deletions .cargo-deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@ no-default-features = true
[advisories]
ignore = [
{ id = "RUSTSEC-2020-0168", reason = "`mach` is unmaintained but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2021-0139", reason = "`ansi_term` is unmaintained but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2022-0061", reason = "`parity-wasm` is unmaintained but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2022-0080", reason = "`parity-util-mem` is unmaintained but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2023-0091", reason = "`wasmtime` 8.0.1 has a security vulnerability but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2024-0336", reason = "`rustls` vulnerability. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2024-0344", reason = "`curve25519-dalek` vulnerability. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2024-0370", reason = "`proc-macro-error` is unmaintained but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2024-0384", reason = "`instant` is unmaintained but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2024-0388", reason = "`derivative` is unmaintained but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2024-0421", reason = "`idna` has a security vulnerability but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2024-0436", reason = "`paste` is unmaintained but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2024-0438", reason = "`wasmtime` 8.0.1 has a security vulnerability but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2025-0009", reason = "`ring` has a security vulnerability but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2025-0010", reason = "`ring` 0.16.20 is unmaintained but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
{ id = "RUSTSEC-2025-0017", reason = "`trust-dns` is unmaintained (renamed) but a Substrate dependency. Re-verify upon next polkadot-sdk updates." },
]
yanked = "deny"

Expand All @@ -32,14 +36,16 @@ allow = [
"BSD-2-Clause",
"BSD-3-Clause",
"CC0-1.0",
"CDLA-Permissive-2.0",
"GPL-3.0 WITH Classpath-exception-2.0",
"GPL-3.0",
"ISC",
"MIT",
"MIT-0",
"MPL-2.0",
"OpenSSL",
"SSPL-1.0",
"Unicode-DFS-2016",
"Unicode-3.0",
"Zlib",
]
private = { ignore = false }
Expand All @@ -51,6 +57,9 @@ license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
name = "ring"

[sources]
allow-git = ["https://github.com/paritytech/polkadot-sdk"]
unknown-git = "deny"
allow-git = [
"https://github.com/paritytech/polkadot-sdk",
"https://github.com/polytope-labs/hyperbridge",
]
unknown-git = "deny"
unknown-registry = "deny"
52 changes: 29 additions & 23 deletions .github/workflows/check-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
name: Run Clippy checks
runs-on: ubuntu-latest
container:
image: paritytech/ci-unified:bullseye-1.74.0
image: paritytech/ci-unified:bullseye-1.81.0
env:
# Configured by the Docker image. We can't change this unless the image does it.
CARGO_HOME: /usr/local/cargo
Expand Down Expand Up @@ -76,11 +76,11 @@ jobs:
name: Check formatting
runs-on: ubuntu-latest
container:
image: paritytech/ci-unified:bullseye-1.74.0
image: paritytech/ci-unified:bullseye-1.81.0
env:
# Configured by the Docker image. We can't change this unless the image does it.
CARGO_HOME: /usr/local/cargo
# Latest nightly version matching the base rustc version (1.74.0).
# Latest nightly version matching the base rustc version (1.18.0).
RUSTUP_NIGHTLY_VERSION: nightly-2023-10-02
needs: get-commit-head
if: ${{ !contains(needs.get-commit-head.outputs.headCommitMsg, 'ci-skip-rust') }}
Expand Down Expand Up @@ -132,7 +132,13 @@ jobs:
env:
working-dir: ./integration-tests/chopsticks
CI: true
PEREGRINE_WASM_OVERRIDE: ../../target/debug/wbuild/peregrine-runtime/peregrine_runtime.wasm
SPIRITNET_BLOCK_NUMBER: 7850499
HYDRATION_BLOCK_NUMBER: 5235787
POLKADOT_BLOCK_NUMBER: 21010819
ASSETHUB_BLOCK_NUMBER: 7934113
SPIRITNET_WASM_OVERRIDE: ../../target/wasm32-unknown-unknown/debug/wbuild/spiritnet-runtime/spiritnet_runtime.wasm
PEREGRINE_WASM_OVERRIDE: ../../target/wasm32-unknown-unknown/debug/wbuild/peregrine-runtime/peregrine_runtime.wasm

defaults:
run:
working-directory: ${{ env.working-dir }}
Expand All @@ -148,6 +154,18 @@ jobs:
with:
tool-cache: true

- name: Set up Cargo cache
uses: actions/cache@v4
with:
# These paths are mounted inside the Docker container.
# We cannot mount the `.cargo/bin` folder since the container already contains binaries, and overriding with an empty one breaks compilation.
path: |
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
key: ${{ github.job }}-${{ github.ref }}-${{ matrix.features }}-${{ hashFiles('**/Cargo.lock') }}
save-always: true

- name: Setup environment
uses: actions/setup-node@v4
with:
Expand All @@ -162,23 +180,11 @@ jobs:
- name: Check lints
run: yarn lint

- name: Set up Cargo cache
uses: actions/cache@v4
with:
# Not executed in a container, so we cache the local paths as on the GH worker.
path: |
${HOME}/.cargo/bin/
${HOME}/.cargo/registry/index/
${HOME}/.cargo/registry/cache/
${HOME}/.cargo/git/db/
key: ${{ github.job }}-${{ github.ref }}-${{ hashFiles('**/Cargo.lock') }}
save-always: true

- name: Build Peregrine runtime
run: cargo build -p peregrine-runtime
- name: Build runtime wasms
run: cargo build -p peregrine-runtime -p spiritnet-runtime --no-default-features --target wasm32-unknown-unknown

- name: Run Chopsticks tests
run: yarn test:CI
run: yarn test

cargo-test:
name: Run Cargo tests
Expand Down Expand Up @@ -226,14 +232,14 @@ jobs:
-v "${HOME}/.cargo/registry/cache:${{ env.CARGO_HOME }}/registry/cache" \
-v "${HOME}/.cargo/git/db:${{ env.CARGO_HOME }}/git/db" \
-w /workspace \
paritytech/ci-unified:bullseye-1.74.0 \
paritytech/ci-unified:bullseye-1.81.0 \
bash -c "cargo test --all-targets --locked ${{ matrix.features }}"
cargo-doc:
name: Check Rustdoc
runs-on: ubuntu-latest
container:
image: paritytech/ci-unified:bullseye-1.74.0
image: paritytech/ci-unified:bullseye-1.81.0
env:
# Configured by the Docker image. We can't change this unless the image does it.
CARGO_HOME: /usr/local/cargo
Expand Down Expand Up @@ -270,7 +276,7 @@ jobs:
name: Run try-runtime
runs-on: ubuntu-latest
container:
image: paritytech/ci-unified:bullseye-1.74.0
image: paritytech/ci-unified:bullseye-1.81.0
env:
# Configured by the Docker image. We can't change this unless the image does it.
CARGO_HOME: /usr/local/cargo
Expand Down Expand Up @@ -362,7 +368,7 @@ jobs:
-v "${HOME}/.cargo/registry/cache:${{ env.CARGO_HOME }}/registry/cache" \
-v "${HOME}/.cargo/git/db:${{ env.CARGO_HOME }}/git/db" \
-w /workspace \
paritytech/ci-unified:bullseye-1.74.0 \
paritytech/ci-unified:bullseye-1.81.0 \
bash -c "bash -x scripts/run_benches_for_runtime.sh ${{ matrix.runtime }} dev"
trigger-gitlab:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-rustdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
-v "${HOME}/.cargo:/root/.cargo" \
-e RUSTDOCFLAGS='-D warnings' \
-w /workspace \
paritytech/ci-unified:bullseye-1.74.0 \
paritytech/ci-unified:bullseye-1.81.0 \
bash -c "
cargo doc --all-features --no-deps --locked && \
mv $DOCS_TARGET/help.html $DOCS_TARGET/index.html && \
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ runtimes/spiritnet/src/xcm_tests/e2e/out
chopsticks/**/db.sqlite*
chopsticks/**/extra.yaml
chopsticks/**/.tmp.yaml
**/preview

integration-tests/**/db
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ stages:

build-production-wasm:
image:
name: paritytech/srtool:1.75.0
name: paritytech/srtool:1.81.0
entrypoint: [""]
stage: build
parallel:
Expand Down Expand Up @@ -38,7 +38,7 @@ build-production-wasm:

build-try-state-wasm:
image:
name: paritytech/ci-unified:bullseye-1.74.0
name: paritytech/ci-unified:bullseye-1.81.0
stage: build
parallel:
matrix:
Expand Down
Loading
Loading