Skip to content

Commit

Permalink
Upgrade to Polkadot v1.6.0 (#569)
Browse files Browse the repository at this point in the history
* create base workspace dependencies, update runner, runtime, service (partially), stellar-relay-lib

* updated vault, cargo check only

* upgrade pallet clients-info

* upgrade currency pallet, using maybe temporary orml fork

* upgrade pallet security, remove mocktopus, upgrade fee (cargo check)

* upgrade staking, oracle

* update stellar-relay, pooled-reards

* add mocktopus again

* fixes for mocktopus error, finish upgrade oracle pallet

* fix and re-add mocktopus

* upgrade, vault-registry

* upgrade nomination, redeem, issue

* upgrade replace, reward

* updating runtimes, wip

* upgrade node, mainnet toml

* fix incorrect features flags, sha2 api change

* checking runtimes, default-features fixes

* upgrade node

* fix chain spec definition

* fmt and clippy

* install rust-src for nightly also

* update stellar relay configs

* fixes for test issues

* test only integration on CI

* fix testnet_config spec

* fix spec definition

* Add `#[serde(skip)]` to phantom definitions

* cleanup, fmt

* remove other node

* more cleanup

* regenerate metadata

* re-introduce patch

* run zepter

* re-add offchain features substrate-stellar-sdk

* generated metadata with 1.6.0 runtimes

* fix incorrect dependency version

---------

Co-authored-by: Marcel Ebert <mail@marcel-ebert.de>
  • Loading branch information
gianfra-t and ebma authored Jan 9, 2025
1 parent 6be47bc commit 7626b16
Show file tree
Hide file tree
Showing 89 changed files with 21,654 additions and 15,554 deletions.
9 changes: 9 additions & 0 deletions .github/actions/installations/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ runs:
echo 'APT::Get::Always-Include-Phased-Updates "false";' | sudo tee /etc/apt/apt.conf.d/99-phased-updates
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y protobuf-compiler libprotobuf-dev
- name: Install Rust and Rust-src
shell: bash
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
rustup default stable
rustup update
rustup target add wasm32-unknown-unknown
rustup component add rust-src
# - name: Use Cache
# uses: Swatinem/rust-cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/prerequisite-nightly/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ runs:
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: ${{ inputs.version }}
components: rustfmt, clippy
components: rustfmt, clippy, rust-src
target: wasm32-unknown-unknown
4 changes: 2 additions & 2 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:

- name: Run Tests for Pallets
run: |
bash ./scripts/cmd-pallets test "+${{ env.RUSTUP_NIGHTLY_VERSION }} test" "--release"
bash ./scripts/cmd-pallets test "+${{ env.RUSTUP_NIGHTLY_VERSION }} test" "--release"
- name: Run Tests for Other Libraries
run: |
Expand Down Expand Up @@ -120,4 +120,4 @@ jobs:
toolchain: ${{ env.RUSTUP_NIGHTLY_VERSION }}
command: test
# we only test the standalone-metadata
args: --release -p vault --features integration-test
args: --release -p vault --features integration-test
Loading

0 comments on commit 7626b16

Please sign in to comment.