[Backport] Version bumps from 1.7.0 release (#3254)

This PR backports version bumps from `1.7.0` release branch and moves
related prdoc files to the appropriate folder.
This commit is contained in:
Egor_P
2024-02-09 14:41:40 +07:00
committed by GitHub
parent e53ebd8cd4
commit b2c81b5800
45 changed files with 16 additions and 16 deletions
+33
View File
@@ -0,0 +1,33 @@
title: Transactional processing for XCM
doc:
- audience: Runtime Dev
description: |
Transactional processing was introduced for certain XCM instructions. They are:
- WithdrawAsset
- ReserveAssetDeposited
- TransferAsset
- TransferReserveAsset
- ReceiveTeleportedAsset
- DepositAsset
- DepositReserveAsset
- InitiateReserveWithdraw
- InitiateTeleport
- BuyExecution
- ClaimAsset
- ExportMessage
- LockAsset
- UnlockAsset
- RequestUnlock
Developers must specify a `TransactionalProcessor` when configuring their XCM executor.
FRAME-based runtimes would simply need to configure it with `FrameTransactionalProcessor` to
enable transactional processing. To disable transactional processing of XCMs, `()` may also be
specified as the type for `TransactionalProcessor`.
For runtimes that are not FRAME-based but would like to still harness transactional processing
of XCMs, a type implementing the `ProcessTransaction` trait must be specified as the type for
`TransactionalProcessor`. This trait is for the purpose of connecting the chain's runtime
transactional processor with the XCM executor -- any implementation of `ProcessTransaction` is
possible to be assigned as the `TransactionalProcessor` for the XCM executor.
crates:
- name: staging-xcm-executor
+20
View File
@@ -0,0 +1,20 @@
title: XCMv4
doc:
- audience: Runtime Dev
description: |
A new version of the XCM format.
The main changes are:
- Removed `Multi` prefix from types
- Removed `Abstract` asset id
- `Outcome` is now a named fields struct
- Added `Reanchorable` trait, implemented for both `Location` and `Asset`
- New syntax for building `Location`s and `Junction`s using slices.
You build them like `let location = Location::new(1, [Parachain(1000), PalletInstance(50), GeneralIndex(1984)]);`
and match on them like `match location.unpack() {
(1, [Parachain(id)]) => ...
(0, Here) => ...,
(1, [_]) => ...,
}`
crates: []
+16
View File
@@ -0,0 +1,16 @@
title: fungible fixes and more conformance tests
doc:
- audience: Runtime Dev
description: |
Adds conformance tests for the Balanced and Unbalanced fungible traits
Fixes Unbalanced::decrease_balance not respecting preservation
Fixes Balanced::pair possibly returning pairs of imbalances which do not cancel each other out. Method now returns a Result instead (breaking change).
Fixes Balances pallet active_issuance possible 'underflow'
Refactors the conformance test file structure to match the fungible file structure: tests for traits in regular.rs go into a test file named regular.rs, tests for traits in freezes.rs go into a test file named freezes.rs, etc.
Improve doc comments
Simplify macros
crates:
- name: pallet-balances
- name: frame-support
+18
View File
@@ -0,0 +1,18 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: backpressured JSON-RPC server (upgrade jsonrpsee)
doc:
- audience: Node Operator
description: |
Modifies the jsonrpc server to be "backpressured" and it's possible to configure
how many messages can be "buffered" via the CLI `--rpc_message_buffer_capacity`.
Major changes in this PR:
- The subscriptions are now bounded and if subscription can't keep up with the server it is dropped
- CLI: add parameter to configure the jsonrpc server bounded message buffer (default is 64)
- Add our own subscription helper to deal with the unbounded streams in substrate
crates:
- name: sc-rpc-server
+16
View File
@@ -0,0 +1,16 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: "XCM WeightTrader: Swap Fee Asset for Native Asset"
doc:
- audience: Runtime Dev
description: |
Implements an XCM executor `WeightTrader`, facilitating fee payments in any asset that can be exchanged for a native asset.
A few constraints need to be observed:
- `buy_weight` and `refund` operations must be atomic, as another weight trader implementation might be attempted in case of failure.
- swap credit must be utilized since there isnt an account to which an asset of some class can be deposited with a guarantee to meet the existential deposit requirement.
crates:
- name: cumulus-primitives-utility
+12
View File
@@ -0,0 +1,12 @@
title: Adding `try-state` hook to tips pallet
doc:
- audience: Runtime User
description: |
Enforces the following invariants;
1. The number of entries in Tips should be equal to Reasons.
2. If OpenTip.finders_fee is true, then OpenTip.deposit should be greater than zero.
3. Reasons exists for each Tip[OpenTip.reason], implying equal length of storage.
crates:
- name: pallet-tips
+14
View File
@@ -0,0 +1,14 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Introduce bounds for the number of candidate validation subsystem simultaneously processed tasks
doc:
- audience: Node Dev
description: |
Makes it possible for the candidate validation subsystem to create backpressure on subsystems
requesting to validate a candidate through limiting the number of simultaneously processed
validation tasks.
crates:
- name: polkadot-node-core-candidate-validation
+15
View File
@@ -0,0 +1,15 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Extract warp sync strategy from `ChainSync`
doc:
- audience: Node Dev
description: |
`WarpSync`, and `StateSync` as the logical part of warp sync, are extracted from `ChainSync`
as independent syncing strategies. `SyncingStrategy` enum is introduced as a proxy between
`SyncingEngine` and specific strategies. `SyncingStrategy` may be replaced by a trait in a
follow-up PRs.
crates:
- name: sc-network-sync
@@ -0,0 +1,22 @@
title: "Use clone instead of fork on pvf"
doc:
- audience: Node Operator
description: |
For validators: Adds a new, optional security capability.
Most modern Linux machines should support it, otherwise you will get a warning like:
"- Optional: Cannot call clone with all sandboxing flags, a Linux-specific kernel security features: not available"
If you are already running in a secure environment such as a container, this may conflict with our security features; your only option may be to ignore the warning.
Otherwise, it is recommended to upgrade your Linux version!
migrations:
db: []
runtime: []
crates:
- name: polkadot-node-core-pvf
- name: polkadot-node-core-pvf-prepare-worker
- name: polkadot-node-core-pvf-execute-worker
host_functions: []
+9
View File
@@ -0,0 +1,9 @@
title: Allow fellowship members to swap their AccountIds.
doc:
- audience: Runtime User
description: |
Add a `exchange_member` extrinsic to the `ranked-collective` pallet that allows to vote on
swapping the AccountId of a member. This can be used to recover lost access to a collective.
crates: [ ]
+21
View File
@@ -0,0 +1,21 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: "[frame] `#[pallet::composite_enum]` improved variant count handling + removed `pallet_balances`'s `MaxHolds` config"
doc:
- audience: Runtime Dev
description: |
The implementation of the `VariantCount` trait for aggregate composite enums,
such as `RuntimeHoldReason` and `RuntimeFreezeReason`, has been fixed.
It is now calculated as the sum of `VariantCount::VARIANT_COUNT` for all corresponding `#[pallet::composite_enum]`.
The `Balances` pallet's `Config` item `type MaxHolds` has been removed,
and `type Holds` is now bound to the variant count of the composite enum `RuntimeHoldReason`.
Consequently, the runtime does not need to consider setting the correct value for `MaxHolds`.
notes:
- Remove `type MaxHolds` from the `impl pallet_balances::Config for Runtime` in the runtime.
- When holds are expected to be used, ensure that `type RuntimeHoldReason = RuntimeHoldReason` is set for `impl pallet_balances::Config for Runtime`.
crates:
- name: pallet-balances
+12
View File
@@ -0,0 +1,12 @@
title: "Rococo and Westend Asset-Hub: XCM Transfers with Pallet-Uniques"
doc:
- audience: Runtime User
description: |
With the added `UniquesTransactor` Rococo and Westend Asset-Hub are now capable of handling
XCM transfers with pallet-uniques.
crates:
- name: "asset-hub-rococo-runtime"
- name: "asset-hub-westend-runtime"
- name: "assets-common"
+10
View File
@@ -0,0 +1,10 @@
title: Enable async backing on asset-hub-rococo
doc:
- audience: Runtime User
description: |
Async backing has been enabled on Asset Hub Rococo, which now targets 6s block times.
crates:
- name: asset-hub-rococo-runtime
- name: polkadot-parachain-bin
+10
View File
@@ -0,0 +1,10 @@
title: Filter backing votes from disabled validators in paras_inherent
doc:
- audience: Runtime User
description: |
paras_inherent drops any backing votes from disabled validators on block import and asserts
that no votes from disabled validators are included in a block during execution
crates:
- name: polkadot-runtime-parachains
+12
View File
@@ -0,0 +1,12 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: "Contracts: Stabilize sr25519_verify host function"
doc:
- audience: Runtime Dev
description: |
Removed the `#[unstable]` attrribute on `sr25519_verify` host function.
crates:
- name: "pallet-contracts"
+13
View File
@@ -0,0 +1,13 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Add NonFungibleAdapter
doc:
- audience: Runtime Dev
description: |
Introduces a new adapter, `NonFungibleAdapter`, to work with `frame_support::traits::tokens::nonfungible`
through XCM.
crates:
- name: staging-xcm-builder
+13
View File
@@ -0,0 +1,13 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Fix pallet-nomination-pools v6 to v7 migration
doc:
- audience: Node Dev
description: |
Restores the behaviour of the nomination pools `V6ToV7` migration so that it still works when
the pallet will be upgraded to V8 afterwards.
crates:
- name: "pallet-nomination-pools"
+15
View File
@@ -0,0 +1,15 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Add `availability-distribution` and `biftield-distribution` subsystem benchmark
doc:
- audience: Node Dev
description: |
The new subsystem benchmark test objective (`DataAvailabilityWrite`) is designed to stress
test the part of the pipeline that takes as input a backed candidate and then distributes
it as erasure coded chunks to other validators. The test pulls in the `av-store`,
`bitfield-distribution` and `availability-distribution` subsystems while the whole network and rest
of the node subsystems are emulated.
crates: [ ]
+9
View File
@@ -0,0 +1,9 @@
title: "Introduce `Balances::force_adjust_total_issuance`"
doc:
- audience: Runtime Dev
description: |
Introduce a root extrinsic to forcefully adjust the Total Issuance. Should only be used to fix historic errors.
crates:
- name: "pallet-balances"
+10
View File
@@ -0,0 +1,10 @@
title: "sc-informant: Respect `--disable-log-color`"
doc:
- audience: Node Operator
description: |
Fixes some places that weren't respecting the `--disable-log-color` CLI flag.
crates:
- name: "sc-informant"
- name: "sc-service"
+14
View File
@@ -0,0 +1,14 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Para registration deposit covering max code size
doc:
- audience: Runtime User
description: |
With this PR all newly registered parachains must pay a deposit equivalent to the cost of
registering validation code of the maximum size. Consequently, they can upgrade their code
to the maximum size at any point without additional cost.
crates:
- name: polkadot-runtime-common
+10
View File
@@ -0,0 +1,10 @@
title: "Snowbridge Ethereum Deneb fork preparation"
doc:
- audience: Runtime Dev
description: |
Changes the Rococo runtime Ethereum fork config to include the Deneb hard-fork. Updates the Snowbridge
subtree with preparation for Deneb. Removes the `beacon-minimal-spec` feature.
crates:
- name: bridge-hub-rococo-runtime
+14
View File
@@ -0,0 +1,14 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Rename transaction to transactionWatch
doc:
- audience: Node Dev
description: |
Renamed `transaction_unstable_submitAndWatch` to `transactionWatch_unstable_submitAndWatch`,
`transaction_unstable_watchEvent` to `transactionWatch_unstable_watchEvent` and
`transaction_unstable_unwatch` to `transactionWatch_unstable_unwatch`.
crates:
- name: sc-rpc-spec-v2
+13
View File
@@ -0,0 +1,13 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Serialize/Deserialize trait implemented in no-std for XCM assets types
doc:
- audience: Runtime Dev
description: |
Serialize/Deserialize trait implemented in no-std for XCM v3 and v4
assets types
crates:
- name: staging-xcm
+15
View File
@@ -0,0 +1,15 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Do not run unneeded subsystems on collator and its alongside node
doc:
- audience: Node Dev
description: |
Optimizes overseer building strategy to only include subsystems needed to run the given
type of node. Reduces overseer overhead and also solves the problem with unused subsystems
getting stalled from time to time.
crates:
- name: polkadot-overseer
- name: polkadot-service
+13
View File
@@ -0,0 +1,13 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Enable cross-chain Coretime region transfers on Rococo Coretime chain
doc:
- audience: Runtime User
description: |
This PR allows Coretime regions to be cross-chain transferred from the Rococo Coretime chain.
crates:
- name: pallet-broker
- name: coretime-rococo-runtime
+18
View File
@@ -0,0 +1,18 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: revert paritytech/polkadot#6577 & related changes
doc:
- audience: Node Dev
description: |
Moves BEEFY related pallets behind `session_pallet` for Rococo and Westend runtimes.
Effects that each `MmrLeaf` in the MMR generated by `mmr_pallet` for `block<N>` references the `next_auth_set` of `block<N>` and not `block<N-1>`.
Breaking change for proofs generated by `mmr_generateProof`
- audience: Runtime Dev
description: |
Moves BEEFY related pallets behind `session_pallet` for Rococo and Westend runtimes.
Effects that each `MmrLeaf` in the MMR generated by `mmr_pallet` for `block<N>` references the `next_auth_set` of `block<N>` and not `block<N-1>`.
crates: []
+12
View File
@@ -0,0 +1,12 @@
title: Nomination pools Fix payout destination in permissionless unbond
doc:
- audience: Runtime Dev
description: |
This PR fixes an issue whereby when a nomination pool allowed for permissionless unbonding of
funds, the implicit claimed rewards were mistakenly sent to the caller of the `unbond`, and
not the actual member. A nomination pool only allows permissionless unbonding when its state
was set into `Destroying` by the operator
crates:
- name: pallet-nomination-pools
+13
View File
@@ -0,0 +1,13 @@
title: "Adapt core-fellowship and salary pallets for swapped members"
doc:
- audience: Runtime Dev
description: |
The ranked-collective pallet got the ability to swap members but the core-fellowship and
salary pallets would not be notified of this change. This MR adds `MemberSwappedHandler` to
the collective that is implemented by both pallets.
crates:
- name: "pallet-ranked-collective"
- name: "pallet-core-fellowship"
- name: "pallet-salary"
+14
View File
@@ -0,0 +1,14 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: "[pallet_xcm] Forgotten migration to XCMv4 + added `try-state` to the `pallet_xcm`"
doc:
- audience: Runtime Dev
description: |
The current release includes the new `XCMv4`, so the runtimes must incorporate
a migration `pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>` to ensure
proper data migration in `pallet_xcm`.
crates:
- name: pallet-xcm