Skip to content

Commit

Permalink
Update polkadot v0.9.32 (centrifuge#1115)
Browse files Browse the repository at this point in the history
* Polkadot version updates--substrate breaking changes will also have to be addressed too

* Fix pallets/connectors Cargo.toml issues

* Update forgotten 0.9.29 deps

* Update scale-info to 2.3.0

* Use NunoAlexandre/xcm-simulator", branch = "polkadot-v0.9.32"

This stops us from also pulling v0.9.31 dependencies.

* Fixed 0.9.32 upgrade namechanges for collator-allowlist

* 0.9.32 upgrade namechanges for keystore pallet

* 0.9.32 upgrade namechanges for migration pallet

* 0.9.32 upgrade namechanges for fees pallet

* 0.9.32 upgrade namechanges for permissions pallet

* 0.9.32 upgrade namechanges for bridge pallet

* 0.9.32 upgrade namechanges for crowdloan reward pallet

* 0.9.32 upgrade name changes for crowdloan-claim pallet

* rust fmt

* Update proof size for weights v2 work

* Added proof size to weight for rewards-claim pallet runtime integrity tests

* 0.9.32 upgrade name changes for nft-sales pallet

* 0.9.32 upgrade config runtime name changes for anchors pallet

* 0.9.32 upgrade name changes for pool-system pallet

as with several of the other modules, the tests require 0.9.32 upgrade
changes in other pallets, tests will be upgraded once those done

* 0.9.32 partial build upgrade for pallet restricted-tokens

* 0.9.32 upgrade name changes for investments pallet

* 0.9.32 upgrade changes for restricted tokens pallet

Updated weights for removal of Ord - as part of weights V2
Set optional/unset proof size for weights (u64::MAX)
Runtime namechanges

* 0.9.32 upgrade changes for runtime comfig upgdates

* 0.9.32 upgrade config runtime changes

* 0.9.32 upgrade config runtime changes for bridge pallet

* 0.9.32 upgrade runtime config changes for collator-allowlist pallet

* 0.9.32 upgrade fixed vec/string import conflict and runtime config changes

for claims pallet

* 0.9.32 upgrade runtime config updates for interest-accrual pallet

* 0.9.32 upgrade config runtime updates for loans pallet

* 0.9.32 upgrade config runtime updates for fees pallet

* 0.9.32 upgrade config runtime changes for keystore pallet

* 0.9.32 upgrade config runtime changes for liquidity-rewards pallet

* 0.9.32 upgrade runtime config updates and added required

UnvestedFundsAllowedWithdrawReasons for migrations pallet

* 0.9.32 upgrade runtime config changes for nft pallet

* 0.9.32 upgrade runtime config changes for permissions pallet and

sets default/unused newly required value for proof size for v2 weights

* 0.9.32 upgrade config runtime updates for pool-registry pallet

* 0.9.32 upgrade config runtime changes for reward pallet

* 0.9.32 upgrade corrected import path for newly required FixedPointOperand import

* 0.9.32 upgrade config runtime and ormml token hook changes for dev runtime

* 0.9.32 upgrade config runtime namechanges for dev/altair runtimes

* 0.9.32 upgrade runtime config changes for runtimes

* 0.9.32 upgrade build fixes from main rebase

* fix typos

* fmt

* Drop MAX_MULTISIG_CALL_SIZE check

* 0.9.32 upgrade runtime orml token config upates, and dispatchclass path updates

* Reapply Cargo patch rules

* Update cargo patch rules

* Fix duplicated crates

* nix

* 0.9.32 upgrade pallet_{scheduler|preimage|democracy} Config updates for runtimes

* 0.9.32 upgrade add UnvestedFundsAllowedWithdrawReasons to runtime pallet_vesting configs

* 0.9.32 uprade update dev runtime scheduler migration

* 0.9.32 upgrade fixed dup weightinfo type dec in altair

* Fix runtime weights

We need to regenerate the runtime-based benchmarks once the update is
ready.

* fmt

* Update clap

* Fix multiple errors on src/service

* Fix service compilation errors

* Cargo clippy --fix

* 0.9.32 upgrade update benchmarks for loand and pool-systems for runtime config updates

* 0.9.32 upgrade removed old {pre|post}_migrate scheduler fns from dev runtime

https://github.com/paritytech/substrate/pull/11649/files#diff-402ebe8b386bd8422131875c431704f41f17f30dd1cebe04b96082b561ef899b

* 0.9.32 upgrade fixed frame-system-benchmarking path in runtime cargo.toml runtime-benchmarks

* fmt

* Fix all Call, Event, Runtime outdated refs in e2e tests

* Leave todo for Miguel

* Fix kusama benchmark dep

* fix weightlimit + mocks

* attempt to adapt pools integration builder to new version of fudge

* fix

* Skip e2e / pools for now

Lots of compilation errors in the way. Let's comment those out and
address everything else first.

* Update xcm relay token tests

* fmt

* Fix dup dep

* nix

* use default parity weights so new custom ones can be generated

* fix last unit test

* attempt to fix build step

* attempt to fix build step

* add protoc to ci runners

* fix pull PR code and not main

* Add protoc to benchmark action

* prep altair runtime to weights update

* Fixing integrations test

* fixes to tests

* disable liquidity_rewards benchmarks + fmt

* Adding upstream migrations

* rm interest accrual migration

* set max proof size based off cumulus/polkadot const

* trying to trigger tests

Co-authored-by: nuno <[email protected]>
Co-authored-by: Miguel Hervas <[email protected]>
Co-authored-by: mustermeiszer <[email protected]>
  • Loading branch information
4 people authored Dec 13, 2022
1 parent 4a10ae7 commit 87f2c44
Show file tree
Hide file tree
Showing 150 changed files with 4,171 additions and 4,271 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,24 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
echo "Post cleanup"
df -h
- name: Check out code
sudo apt-get install protobuf-compiler
- name: Get PR Hash
id: get_pr_hash
uses: actions/github-script@v6
with:
result-encoding: string
script: |
const number = context.payload.issue.number;
const pr = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: number
});
return pr.data.head.sha
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ steps.get_pr_hash.outputs.result }}
- name: Install latest nightly
uses: actions-rs/toolchain@88dc2356392166efad76775c878094f4e83ff746
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
env:
RUST_TOOLCHAIN: "nightly-2022-08-05"
steps:
- name: Free space on Ubuntu
- name: Prep build on Ubuntu
if: ${{ matrix.os }} == 'ubuntu-latest'
run: |
echo "Pre cleanup"
Expand All @@ -36,6 +36,7 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
echo "Post cleanup"
df -h
sudo apt-get install protobuf-compiler
- name: Check out code
uses: actions/checkout@v3
- name: Install latest nightly
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
env:
RUST_TOOLCHAIN: "nightly-2022-05-09"
steps:
- name: Free space on Ubuntu
- name: Prep build on Ubuntu
if: ${{ matrix.os }} == 'ubuntu-latest'
run: |
echo "Pre cleanup"
Expand All @@ -23,6 +23,7 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
echo "Post cleanup"
df -h
sudo apt-get install protobuf-compiler
- name: Check out code
uses: actions/checkout@v3
- name: Install latest nightly
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
env:
RUST_TOOLCHAIN: "nightly-2022-05-09"
steps:
- name: Free space on Ubuntu
- name: Prep build on Ubuntu
if: ${{ matrix.os }} == 'ubuntu-latest'
run: |
echo "Pre cleanup"
Expand All @@ -23,6 +23,7 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
echo "Post cleanup"
df -h
sudo apt-get install protobuf-compiler
- name: Check out code
uses: actions/checkout@v3
- name: Install latest nightly
Expand Down
Loading

0 comments on commit 87f2c44

Please sign in to comment.