Skip to content

Commit

Permalink
Polkadot v0.9.37 (#1241)
Browse files Browse the repository at this point in the history
* diener: 0.9.37

* cargo update

* cargo update

* Remove missing crates from patch rules

* cargo update

* Update toolchain to nightly-2022-11-14

* Fix compilation errors

* Add explicit #[pallet::call_index(0)] to all pallet calls

* Update moonbeam dep's revision

* Update pallet_xcm_transactor::Config

* cargo update

* nix

* cargo update

* Disable fudge and pool's e2e tests

* Fix xcm integration tests

* Add sp-runtime/try-runtime

* Fix TryRuntime trait impls

* Update jsonrpsee dep

* tmp: Add fp-self-contained dep to include try-runtime feat

* Add missing asset_exists

* Fix some errors in command.rs and service.rs

* nix

* fmt

* adapt service + command

* Fix warnings

* Fix test warnings

* fmt

* Fix try-runtime compilation error in command.rs

* Add pallet index to permissions mock

* fix warning

* Re-enable fudge and pool's e2e

* cargo update

* Add #[pallet::call_index()] to loans-ref extrinsics

* Drop unused import

* fmt

* docker: Update toolchain to nightly-2022-11-14

* Update libs/mock and loans-ref to 0.9.37

* nix

* docker: Update images to 0.9.37

* Fix clippy

* fmt

* Box the right thing

* fmt

* cargo update

* nix

* Document hardcoded XCM tests' balances

* fmt

* Fix integration tests

* fmt

* Fix docs

* clippy

* fixup

* Disable nix_build job

* fixup

* clipy ++

---------

Co-authored-by: Miguel Hervas <[email protected]>
  • Loading branch information
NunoAlexandre and mikiquantum authored Apr 7, 2023
1 parent 43c3676 commit d36b067
Show file tree
Hide file tree
Showing 90 changed files with 4,736 additions and 3,342 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest-4-cores
if: ${{ startsWith(github.event.comment.body, '/benchmark ') && github.event.issue.pull_request && contains(github.event.comment.author_association, 'CONTRIBUTOR') }}
env:
RUST_TOOLCHAIN: "nightly-2022-08-05"
RUST_TOOLCHAIN: "nightly-2022-11-14"
steps:
- uses: actions/github-script@v6
name: Parse Runtime From Comment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"os": "ubuntu-latest",
"target": "build-node",
"run_on_event": "any",
"rust_toolchain": "nightly-2022-08-05"
"rust_toolchain": "nightly-2022-11-14"
},

{
Expand Down
47 changes: 25 additions & 22 deletions .github/workflows/build-nix.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
name: nix-build
on:
pull_request:
push:
branches: [main, 'release-v**']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# Nix Flakes doesn't work on shallow clones
fetch-depth: 0
- uses: cachix/install-nix-action@v17
with:
install_url: https://releases.nixos.org/nix/nix-2.10.3/install
- uses: cachix/cachix-action@v10
with:
name: centrifuge-chain
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build centrifuge-chain
run: nix build --no-allow-dirty -L
#### NOTE: This job is disabled until nix supports the latest cargo workspace features.
#### See: https://github.com/NixOS/nixpkgs/pull/217232
#
#name: nix-build
#on:
# pull_request:
# push:
# branches: [main, 'release-v**']
#jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# with:
# # Nix Flakes doesn't work on shallow clones
# fetch-depth: 0
# - uses: cachix/install-nix-action@v17
# with:
# install_url: https://releases.nixos.org/nix/nix-2.10.3/install
# - uses: cachix/cachix-action@v10
# with:
# name: centrifuge-chain
# authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
# - name: Build centrifuge-chain
# run: nix build --no-allow-dirty -L
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: ${{ matrix.target }}
runs-on: ${{ matrix.os }}
env:
RUST_TOOLCHAIN: "nightly-2022-08-05"
RUST_TOOLCHAIN: "nightly-2022-11-14"
steps:
- name: Prep build on Ubuntu
if: ${{ matrix.os }} == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
required: true
default: ''
env:
RUST_TOOLCHAIN: "nightly-2022-08-05"
RUST_TOOLCHAIN: "nightly-2022-11-14"
jobs:
docker:
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
contents: write
runs-on: ubuntu-latest
env:
RUST_TOOLCHAIN: "nightly-2022-08-05"
RUST_TOOLCHAIN: "nightly-2022-11-14"
RUSTDOCFLAGS: "-D warnings"
steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
target: [fmt, taplo, clippy]
runs-on: ${{ matrix.os }}
env:
RUST_TOOLCHAIN: "nightly-2022-05-09"
RUST_TOOLCHAIN: "nightly-2022-11-14"
steps:
- name: Prep build on Ubuntu
if: ${{ matrix.os }} == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
target: [tests, integration]
runs-on: ${{ matrix.os }}
env:
RUST_TOOLCHAIN: "nightly-2022-05-09"
RUST_TOOLCHAIN: "nightly-2022-11-14"
steps:
- name: Prep build on Ubuntu
if: ${{ matrix.os }} == 'ubuntu-latest'
Expand Down
Loading

0 comments on commit d36b067

Please sign in to comment.