Skip to content

Commit

Permalink
Upgrade to latest [email protected] release (#137)
Browse files Browse the repository at this point in the history
Attached result of `cargo upgrade -v --pinned --incompatible`
[cargo-upgrade-version-bump.log](https://github.com/polkadot-fellows/runtimes/files/13873056/cargo-upgrade-version-bump.log)

E.g.: `frame-support` from `25.0.0` to `27.0.0`

_Note: Encointer was not upgraded (because its pallet references
`[email protected]` release)._

## TODO

- [x] fix compilation
- [x] fix integration tests
- [x] fix benchmarks (also try them)
- [ ] patch for `pallet-nomination-pools` migration fix
paritytech/polkadot-sdk#3094
- [x] patch for `xcm-executor` fix
paritytech/polkadot-sdk#3174
- [x] search for `TODO:(PR#137) - wait for xcm-executor patch` (missing
`FrameTransactionalProcessor`)
- [x] check/verify `MaxExposurePageSize = 512` / `MaxNominators = 512`
for Kusama/Polkadot
- [x] check with SRLabs (Jakob)
paritytech-secops/srlabs_findings#327


Closes: #113

---------

Co-authored-by: joe petrowski <[email protected]>
  • Loading branch information
bkontur and joepetrowski authored Feb 14, 2024
1 parent 4b240ca commit e5a723f
Show file tree
Hide file tree
Showing 125 changed files with 14,453 additions and 8,237 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/check-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ jobs:
- name: Add wasm32-unknown-unknown target
run: rustup target add wasm32-unknown-unknown

- name: Add rust-src component
run: rustup component add rust-src

- name: Fetch cache
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
components: rust-src

- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
**/.criterion/
**/*.rs.bk
**/chains/
!integration-tests/emulated/chains
**/hfuzz_target/
**/hfuzz_workspace/
**/node_modules
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Upgrade parachains runtime API from v7 to v8 in Kusama ([context](https://paritytech.github.io/polkadot-sdk/book/protocol-validator-disabling.html), [polkadot-fellows/runtimes#148](https://github.com/polkadot-fellows/runtimes/pull/148)).
- Fixed the lowering of Asset Hub existential deposits.
- MMR leaves generated by `pallet_mmr` point to the next-authority-set of the current block instead of the prior block [polkadot-fellows/runtimes#169](https://github.com/polkadot-fellows/runtimes/pull/169)
- Upgrade dependencies to the `[email protected]` release ([polkadot-fellows/runtimes#137](https://github.com/polkadot-fellows/runtimes/pull/137))

### Removed

Expand Down
Loading

0 comments on commit e5a723f

Please sign in to comment.