Upgrade to latest polkadot-sdk@1.6 release#159
Conversation
[pallet_identity] removed `FieldDeposit`, `MaxAdditionalFields`, added `ByteDeposit` fix import `simple` -> `legacy`
… `set_commission_claim_permission`)
… / `take_response`)
…: `common` to `common` and `chains` chore: remove unneeded deps with `cargo machete` for integration tests
… entire file: Error: Invalid TOML document: expected key-value, found comma" https://github.com/polkadot-fellows/runtimes/actions/runs/7507624988/job/20441549625?pr=137#step:9:1
…>,` to Kusama/Polkadot
Xcm emulator tests are merged. And I will merge this PR to |
Accomodate encointer to 1.6
|
Encointer is also merged, so this PR is ready to be merged to the main finally |
| - Upgrade dependencies to the `polkadot-sdk@1.5.0` release ([polkadot-fellows/runtimes#137](https://github.com/polkadot-fellows/runtimes/pull/137)) | ||
| - Deprecate the `xcm::body::TREASURER_INDEX` constant and use the standard `Treasury` variant from the `xcm::BodyId` type instead ([polkadot-fellows/runtimes#149](https://github.com/polkadot-fellows/runtimes/pull/149)) | ||
| - Bump parachains runtime API to v9 in Kusama to enable the `node_features` function [polkadot-fellows/runtimes#194](https://github.com/polkadot-fellows/runtimes/pull/194) | ||
| - Upgrade dependencies to the `polkadot-sdk@1.6.0` release ([polkadot-fellows/runtimes#159](https://github.com/polkadot-fellows/runtimes/pull/159)) |
There was a problem hiding this comment.
In the light of #157
Can we make an extra heading below Removed, Based on Polkadot-SDK (heading name is total shitty, please propose better if you have any idea). And then mention the version with a link to the prs or something like this?
| type RegistrarOrigin = EitherOf<EnsureRoot<Self::AccountId>, GeneralAdmin>; | ||
| type OffchainSignature = Signature; | ||
| type SigningPublicKey = <Signature as Verify>::Signer; | ||
| type UsernameAuthorityOrigin = EnsureRoot<Self::AccountId>; |
There was a problem hiding this comment.
So we should use an easier origin here @joepetrowski?
|
/merge |
|
Enabled Available commands
For more information see the documentation |
|
looks like we should temporary skip |
Based on bump to [`polkadot-sdk@1.6.0`](#159). Attached result of `cargo upgrade -v --pinned --incompatible` [cargo-upgrade-version-bump.log](https://github.com/polkadot-fellows/runtimes/files/14281072/cargo-upgrade-version-bump.log) ~~## For reviewers~~ ~~This PR is against `polkadot-fellows`'s main to bring it to the fellows repo, but if you want to see a real diff relevant to the `polkadot-sdk@1.7.0` update please check: bkontur/runtimes@bko-bump-to-1.6...bkontur:runtimes:bko-bump-to-1.7.~~ ## TODO - [x] fix compilation - [x] apply patch for AssetHub tests: paritytech/polkadot-sdk#3404 - [x] apply patch for `coretime` paritytech/polkadot-sdk#3497 see [comment](#187 (comment)) - [x] fix integration tests - fix after #185 - [x] fix benchmarks (also try them) - [x] apply patch for `pallet-xcm` benchmarks paritytech/polkadot-sdk#3465 - [x] check ranked collectives: - [x] `ExchangeOrigin` see [comment](#187 (comment)) - [x] `MemberSwappedHandler` / `BenchmarkSetup` see [comment](#187 (comment)) --------- Signed-off-by: Adrian Catangiu <adrian@parity.io> Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com> Co-authored-by: Ross Bulat <ross@parity.io> Co-authored-by: Alain Brenzikofer <alain@integritee.network> Co-authored-by: eskimor <eskimor@no-such-url.com> Co-authored-by: Adrian Catangiu <adrian@parity.io> Co-authored-by: brenzi <brenzi@users.noreply.github.com>
paritytech#3287) I found out during the cleanup of this deprecation message in the `polkadot-fellows` repository that we deprecated `CurrencyAdapter` without making the recommended changes. ## TODO - [ ] fix `polkadot-fellows` bump to 1.6.0 polkadot-fellows/runtimes#159 --------- Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com>
Based on bump to
polkadot-sdk@1.5.0.Attached result of
cargo upgrade -v --pinned --incompatiblecargo-upgrade-version-bump.logNote: Encointer was not upgraded (because its pallet references
polkadot@1.3.0release).For reviewersThis PR is againstpolkadot-fellows's main to bring it to the fellows repo, but if you want to see a real diff relevant to thepolkadot-sdk@1.6.0update please check: bkontur/runtimes@bko-bump-to-1.5...bkontur:runtimes:bko-bump-to-1.6.TODO
collectives-polkadotpayoutDoes not require a CHANGELOG entrywarning: use of deprecated structstaging_xcm_builder::CurrencyAdapter: UseFungibleAdapterinsteadTODO:(PR#159) change to FungibleAdapterand/or wait for [xcm-builder] Replaced deprecated CurrencyAdapter with FungibleAdapter paritytech/polkadot-sdk#3287pallet-nomination-poolsmigration fix Backport of fix Pools 6->7 migration (#2942) paritytech/polkadot-sdk#3093polkadot-sdk@1.5#188 (comment)xcm-executorfix (for 1.6.0) e.g. Backport XCM fixes to 1.5.0 paritytech/polkadot-sdk#3174// TODO:(PR#159)(PR#1694)- see comment - fixed by Enable coretime on Kusama bkontur/runtimes#3MaxControllersInDeprecationBatchhttps://github.com/polkadot-fellows/runtimes/pull/159/files#r1492361038pallet_identity::Configfor Kusama and Polkadot https://github.com/polkadot-fellows/runtimes/pull/159/files#r1492363866