-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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 |
CHANGELOG.md
Outdated
@@ -22,6 +23,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | |||
- 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -816,6 +816,12 @@ impl pallet_identity::Config for Runtime { | |||
type Slashed = Treasury; | |||
type ForceOrigin = EitherOf<EnsureRoot<Self::AccountId>, GeneralAdmin>; | |||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 --incompatible
cargo-upgrade-version-bump.logNote: Encointer was not upgraded (because its pallet references
polkadot@1.3.0
release).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.0
update please check: bkontur/runtimes@bko-bump-to-1.5...bkontur:runtimes:bko-bump-to-1.6.TODO
collectives-polkadot
payout
Does not require a CHANGELOG entrywarning: use of deprecated struct
staging_xcm_builder::CurrencyAdapter: Use
FungibleAdapterinstead
TODO:(PR#159) change to FungibleAdapter
and/or wait for [xcm-builder] Replaced deprecated CurrencyAdapter with FungibleAdapter paritytech/polkadot-sdk#3287pallet-nomination-pools
migration fix Backport of fix Pools 6->7 migration (#2942) paritytech/polkadot-sdk#3093polkadot-sdk@1.5
#188 (comment)xcm-executor
fix (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#3MaxControllersInDeprecationBatch
https://github.com/polkadot-fellows/runtimes/pull/159/files#r1492361038pallet_identity::Config
for Kusama and Polkadot https://github.com/polkadot-fellows/runtimes/pull/159/files#r1492363866