moondance-labs / tanssi

GNU General Public License v3.0
116 stars 44 forks source link

Update polkadot-sdk from v1.7.0 to v1.10.0 #580

Closed github-actions[bot] closed 1 month ago

github-actions[bot] commented 1 month ago

Description

This ticket is automatically generated using

$ npm run print-version-bump-info -- --from v1.7.0 --to v1.10.0

polkadot-sdk (2024-02-07 -> 2024-04-05)

https://github.com/paritytech/polkadot-sdk/compare/polkadot-v1.7.0...polkadot-v1.10.0

    from: 2fe3145ab9bd26ceb5a26baf2a64105b0035a5a6
      to: 7049c3c98836b3e9253f6aaa69b6bf3d622e3962
 commits: 548

Important commits by label

T9-cumulus

(paritytech/polkadot-sdk#3002) PoV Reclaim Runtime Side (paritytech/polkadot-sdk#3335) Collator overseer builder unification (paritytech/polkadot-sdk#3510) Fixup multi-collator parachain transition to async backing (paritytech/polkadot-sdk#3608) Deprecate xcm::body::TREASURER_INDEX constant, use standard Treasury varian instead (paritytech/polkadot-sdk#3302) collator protocol changes for elastic scaling (validator side) (paritytech/polkadot-sdk#3521) collator-side: send parent head data (paritytech/polkadot-sdk#3765) Enable PoV reclaim on rococo-parachain (paritytech/polkadot-sdk#3854) Export unified ParachainHostFunctions (paritytech/polkadot-sdk#3961) Added support for coretime-kusama/polkadot and people-kusama/polkadot

T8-polkadot

(paritytech/polkadot-sdk#3188) Small fixes coretime related fixes (paritytech/polkadot-sdk#3160) prospective-parachains: respond with multiple backable candidates (paritytech/polkadot-sdk#3052) Fixes TotalValueLocked out of sync in nomination pools (paritytech/polkadot-sdk#3232) Validate code when scheduling uprades from registrar (paritytech/polkadot-sdk#1660) Implements a % cap on staking rewards from era inflation (paritytech/polkadot-sdk#3319) Add Coretime to Westend (paritytech/polkadot-sdk#3229) Elastic scaling: use an assumed CoreIndex in candidate-backing (paritytech/polkadot-sdk#3231) Runtime: allow backing multiple candidates of same parachain on different cores (paritytech/polkadot-sdk#3181) Remove AssignmentProviderConfig and use parameters from HostConfiguration instead (paritytech/polkadot-sdk#3509) Enable elastic scaling node feature in local testnets genesis (paritytech/polkadot-sdk#3233) provisioner: allow multiple cores assigned to the same para (paritytech/polkadot-sdk#3573) ParaInherent create: update apply_weight_limit wrt elastic scaling (paritytech/polkadot-sdk#3639) Staking ledger bonding fixes (paritytech/polkadot-sdk#3302) collator protocol changes for elastic scaling (validator side) (paritytech/polkadot-sdk#3580) Expose ClaimQueue via a runtime api and use it in collation-generation (paritytech/polkadot-sdk#3190) Fix algorithmic complexity of on-demand scheduler with regards to number of cores. (paritytech/polkadot-sdk#3754) Migrates Westend to Runtime V2 (paritytech/polkadot-sdk#3479) Elastic scaling: runtime dependency tracking and enactment (paritytech/polkadot-sdk#3778) elastic scaling: preserve candidate ordering in provisioner (paritytech/polkadot-sdk#3714) Migrate parachain swaps to Coretime (paritytech/polkadot-sdk#3874) bugfix: request fragment tree membership for all candidates (paritytech/polkadot-sdk#3341) Fix parachain upgrade scheduling when done by the owner/root

T7-smart_contracts

(paritytech/polkadot-sdk#3154) Contracts: Stabilize caller_is_root API (paritytech/polkadot-sdk#3243) contracts: Don't fail fast if the Weight limit of a cross contract call is too big (paritytech/polkadot-sdk#3184) contracts: Remove no longer enforced limits from the Schedule (paritytech/polkadot-sdk#3384) Contracts: Stabilize APIs (paritytech/polkadot-sdk#3361) contracts: Fix double charge of gas for host functions (paritytech/polkadot-sdk#3415) Contracts Add new version for marking new stable API (paritytech/polkadot-sdk#3377) Permissioned contract deployment (paritytech/polkadot-sdk#3540) Contracts upload with Determinism::Enforced when possible (paritytech/polkadot-sdk#3606) Contracts: Remove unstable on lock/unlock_delegate_dependency host fns

T6-XCM

(paritytech/polkadot-sdk#3228) [pallet_xcm] Forgotten migration to XCMv4 + added try-state to the pallet_xcm (paritytech/polkadot-sdk#3287) [xcm-builder] Replaced deprecated CurrencyAdapter with FungibleAdapter (paritytech/polkadot-sdk#3340) Fix DepositReserveAsset fees payment (paritytech/polkadot-sdk#3464) [pallet-xcm] Adjust benchmarks (teleport_assets/reserve_transfer_assets) not relying on ED (paritytech/polkadot-sdk#3403) Add claim_assets extrinsic to pallet-xcm (paritytech/polkadot-sdk#3696) Add HRMP notification handlers to the xcm-executor (paritytech/polkadot-sdk#3763) XCM remove extra QueryId types from traits (paritytech/polkadot-sdk#3792) [pallet-xcm] fix transport fees for remote reserve transfers (paritytech/polkadot-sdk#3607) XCM Fee Payment Runtime API (paritytech/polkadot-sdk#3749) pallet-xcm: Deprecate execute and send in favor of execute_blob and send_blob (paritytech/polkadot-sdk#3955) Added tests for XCM barriers: AllowSubscriptions, WithUniqueTopic and TrailingSetTopicAsId

T5-host_functions

(paritytech/polkadot-sdk#3002) PoV Reclaim Runtime Side

T3-RPC_API

(paritytech/polkadot-sdk#3079) rpc-v2/tx: Implement transaction_unstable_broadcast and transaction_unstable_stop (paritytech/polkadot-sdk#3230) rpc: bump jsonrpsee v0.22 and fix race in rpc v2 chain_head (paritytech/polkadot-sdk#3193) rpc-v2/tx/tests: Add transaction broadcast tests and check propagated tx status

T2-pallets

(paritytech/polkadot-sdk#3212) Ranked collective Add+Remove origins (paritytech/polkadot-sdk#3213) [pallet_broker] Remove leases that have already expired in rotate_sale (paritytech/polkadot-sdk#2061) [FRAME] Parameters pallet (paritytech/polkadot-sdk#1660) Implements a % cap on staking rewards from era inflation (paritytech/polkadot-sdk#3060) Add retry mechanics to pallet-scheduler (paritytech/polkadot-sdk#3325) Ensure referenda TracksInfo is sorted (paritytech/polkadot-sdk#3373) Remove unused im-online weights (paritytech/polkadot-sdk#2290) im-online removal cleanup: remove off-chain storage (paritytech/polkadot-sdk#3412) [FRAME] Test for sane genesis default (paritytech/polkadot-sdk#3324) pallet-membership weights (paritytech/polkadot-sdk#3513) Fix call enum's metadata regression (paritytech/polkadot-sdk#3456) Removed pallet::getter usage from pallet-collective (paritytech/polkadot-sdk#2393) [FRAME] Use 'ready' pages in XCMP suspend logic (paritytech/polkadot-sdk#3453) nomination-pools: add permissionless condition to chill (paritytech/polkadot-sdk#2740) :bug: Depositing PalletAttributeSet on incorrect nft (paritytech/polkadot-sdk#3275) Asset Conversion: doc guide to address incorrect exchange rate for non-withdrawable pool (paritytech/polkadot-sdk#3636) [pallet_broker] Fix adapt_price behaviour at zero (paritytech/polkadot-sdk#3589) Remove getters from im-online pallet (paritytech/polkadot-sdk#3643) [Collator Selection] Fix weight refund for set_candidacy_bond (paritytech/polkadot-sdk#3471) removed pallet::getter usage from cumulus pallets (paritytech/polkadot-sdk#3740) Removed pallet::getter usage from Beefy and MMR pallets (paritytech/polkadot-sdk#3844) process enqueued messages on idle (paritytech/polkadot-sdk#3706) Extrinsic to restore corrupt staking ledgers (paritytech/polkadot-sdk#3246) Try State Hook for Beefy (paritytech/polkadot-sdk#3383) Remove transient code after im-online pallet removal (paritytech/polkadot-sdk#3438) Pools: Make PermissionlessWithdraw the default claim permission (paritytech/polkadot-sdk#3902) im-online removal final cleanup (paritytech/polkadot-sdk#3927) pallet-xcm: fix weights for all XTs and deprecate unlimited weight ones

T15-bridges

(paritytech/polkadot-sdk#3074) [BEEFY] Avoid missing voting sessions during node restart (paritytech/polkadot-sdk#3186) Removes Snowbridge parachain directory (paritytech/polkadot-sdk#3225) Introduce submit_finality_proof_ex call to bridges GRANDPA pallet (paritytech/polkadot-sdk#3260) Bridge zombienet tests refactoring (paritytech/polkadot-sdk#3264) Add bridge zombienet test back to the CI (paritytech/polkadot-sdk#3310) Bridges: add test 0002 to CI (paritytech/polkadot-sdk#3333) Bridge zombienet tests - move all test scripts to the same folder (paritytech/polkadot-sdk#3337) fix(zombienet): docker img version to use in merge queues for bridges (paritytech/polkadot-sdk#3443) Add support for BHP local and BHK local (paritytech/polkadot-sdk#3462) Bridge zombienet tests: move all "framework" files under one folder (paritytech/polkadot-sdk#3490) Bridge zombienet tests: Check amount received at destination (paritytech/polkadot-sdk#3575) Increase 0002-validators-warp-sync timeout (paritytech/polkadot-sdk#3700) Bridge zombienet tests: remove unneeded accounts (paritytech/polkadot-sdk#3790) Add a linear fee multiplier (#127) (paritytech/polkadot-sdk#3822) [Bridges] Move chain definitions to separate folder (paritytech/polkadot-sdk#3841) Update bridges subtree (paritytech/polkadot-sdk#3938) Update bridges subtree (paritytech/polkadot-sdk#3761) Snowbridge: Synchronize from Snowfork repository

T14-system_parachains

(paritytech/polkadot-sdk#2949) Enable async backing on all testnet system chains (paritytech/polkadot-sdk#3289) Bump coretime-rococo to get leases fix (paritytech/polkadot-sdk#3211) Use dynamic aura slot duration in lookahead collator (paritytech/polkadot-sdk#3272) Add broker pallet to coretime-westend (paritytech/polkadot-sdk#3543) Improve Penpal runtime + emulated tests (paritytech/polkadot-sdk#3858) Enable pov-reclaim on rococo and westend parachains

T13-deprecation

(paritytech/polkadot-sdk#3370) removed pallet::getter from pallet-sudo (paritytech/polkadot-sdk#3371) removed pallet::getter from example pallets

T12-benchmarks

(paritytech/polkadot-sdk#2621) Introduce approval-voting/distribution benchmark (paritytech/polkadot-sdk#3158) subsystem-bench: Prepare CI output (paritytech/polkadot-sdk#3239) subsystem-bench: run cli benchmarks only using config files (paritytech/polkadot-sdk#3244) bench pallet: only require Hash instead of Block (paritytech/polkadot-sdk#3262) subsystem-bench: polish imports (paritytech/polkadot-sdk#3395) benchmarking-cli: add --list-pallets and --all options (paritytech/polkadot-sdk#3311) subsystem-bench: add regression tests for availability read and write (paritytech/polkadot-sdk#3574) fix(pallet-benchmarking): split test functions in v2 (paritytech/polkadot-sdk#3583) subsystem-bench: adjust test config to Kusama (paritytech/polkadot-sdk#3527) Add subsystems regression tests to CI (paritytech/polkadot-sdk#3690) Add elastic scaling support in ParaInherent BenchBuilder (paritytech/polkadot-sdk#3616) Benchmarking: Add pov_mode to V2 syntax (paritytech/polkadot-sdk#3698) [subsystem-benchmarks] Fix availability-write regression tests (paritytech/polkadot-sdk#3829) [subsystem-benchmarks] Save results to json

T11-documentation

(paritytech/polkadot-sdk#3280) AlreadyVoting Error - Remove ambiguity (paritytech/polkadot-sdk#3355) Update subkey README.md (paritytech/polkadot-sdk#3372) Fix documentation dead link (paritytech/polkadot-sdk#3362) Add documentation around FRAME Origin (paritytech/polkadot-sdk#1554) Runtime Upgrade ref docs and Single Block Migration example pallet (paritytech/polkadot-sdk#3441) [prdoc] Optional SemVer bumps and Docs (paritytech/polkadot-sdk#3463) Add documentation around FRAME Offchain workers (paritytech/polkadot-sdk#3506) update development setup in sdk-docs (paritytech/polkadot-sdk#3513) Fix call enum's metadata regression (paritytech/polkadot-sdk#2638) Finish documenting #[pallet::xxx] macros (paritytech/polkadot-sdk#3460) Repot all templates into a single directory (paritytech/polkadot-sdk#3542) Add documentation around pallet coupling (paritytech/polkadot-sdk#2615) Defensive Programming in Substrate Reference Document (paritytech/polkadot-sdk#3808) Fix spelling mistakes across the whole repository (paritytech/polkadot-sdk#2802) Tokens in FRAME Docs (paritytech/polkadot-sdk#3928) Fix links

T10-tests

(paritytech/polkadot-sdk#2621) Introduce approval-voting/distribution benchmark (paritytech/polkadot-sdk#3222) Add try_state and integrity_test to XCM simulator fuzzer (paritytech/polkadot-sdk#3052) Fixes TotalValueLocked out of sync in nomination pools (paritytech/polkadot-sdk#3260) Bridge zombienet tests refactoring (paritytech/polkadot-sdk#3264) Add bridge zombienet test back to the CI (paritytech/polkadot-sdk#3299) Fix(zombienet): allow finality_lag be to be 1 or less and increase timeout (paritytech/polkadot-sdk#3310) Bridges: add test 0002 to CI (paritytech/polkadot-sdk#3323) xcm-emulator tests: remove dependency on polkadot-service full-node (paritytech/polkadot-sdk#3333) Bridge zombienet tests - move all test scripts to the same folder (paritytech/polkadot-sdk#3337) fix(zombienet): docker img version to use in merge queues for bridges (paritytech/polkadot-sdk#3462) Bridge zombienet tests: move all "framework" files under one folder (paritytech/polkadot-sdk#3376) fix(zombienet): increase timeout in download artifacts (paritytech/polkadot-sdk#3490) Bridge zombienet tests: Check amount received at destination (paritytech/polkadot-sdk#3509) Enable elastic scaling node feature in local testnets genesis (paritytech/polkadot-sdk#3575) Increase 0002-validators-warp-sync timeout (paritytech/polkadot-sdk#3564) Make penpal-runtime's TrustedReserves more connfigurable (paritytech/polkadot-sdk#3680) Increase timeout for assertions (paritytech/polkadot-sdk#3639) Staking ledger bonding fixes (paritytech/polkadot-sdk#3690) Add elastic scaling support in ParaInherent BenchBuilder (paritytech/polkadot-sdk#3700) Bridge zombienet tests: remove unneeded accounts (paritytech/polkadot-sdk#3745) chore: bump zombienet version (1.3.95) (paritytech/polkadot-sdk#3830) chore: bump zombienet version (paritytech/polkadot-sdk#3883) collation-genereation: fix tests (paritytech/polkadot-sdk#3923) pallet-scheduler: fix test (paritytech/polkadot-sdk#3933) chore(zombienet): bump version (paritytech/polkadot-sdk#3885) Remove nextest filtration

T1-FRAME

(paritytech/polkadot-sdk#3007) Try State Hook for Ranked Collective (paritytech/polkadot-sdk#3052) Fixes TotalValueLocked out of sync in nomination pools (paritytech/polkadot-sdk#3317) [FRAME Core] remove unnecessary overrides while using derive_impl for frame_system (paritytech/polkadot-sdk#2903) implement ConversionToAssetBalance in asset-rate (paritytech/polkadot-sdk#3412) [FRAME] Test for sane genesis default (paritytech/polkadot-sdk#3002) PoV Reclaim Runtime Side (paritytech/polkadot-sdk#3454) Introduce storage attr macro #[disable_try_decode_storage] and set it on System::Events and ParachainSystem::HostConfiguration (paritytech/polkadot-sdk#1554) Runtime Upgrade ref docs and Single Block Migration example pallet (paritytech/polkadot-sdk#3463) Add documentation around FRAME Offchain workers (paritytech/polkadot-sdk#1781) Multi-Block-Migrations, poll hook and new System callbacks (paritytech/polkadot-sdk#3491) [Deprecation] Remove sp_weights::OldWeight (paritytech/polkadot-sdk#3513) Fix call enum's metadata regression (paritytech/polkadot-sdk#3505) Remove as frame_system::DefaultConfig from the required syntax in derive_impl (paritytech/polkadot-sdk#3460) Repot all templates into a single directory (paritytech/polkadot-sdk#3378) remove deprecated type 'GenesisConfig' (paritytech/polkadot-sdk#3532) [Deprecation] Remove the deprecated Store trait (paritytech/polkadot-sdk#3637) Adds default config for assets pallet (paritytech/polkadot-sdk#1378) Construct Runtime v2 (paritytech/polkadot-sdk#3652) Removes as [disambiguation_path] from derive_impl usage (paritytech/polkadot-sdk#3654) Eliminate experimental feature (paritytech/polkadot-sdk#3722) Fix kusama validators getting 0 backing rewards the first session they enter the active set (paritytech/polkadot-sdk#3471) removed pallet::getter usage from cumulus pallets (paritytech/polkadot-sdk#3616) Benchmarking: Add pov_mode to V2 syntax (paritytech/polkadot-sdk#3849) pallet-scheduler: Unrequest call on failed lookup (paritytech/polkadot-sdk#3850) pallet-referenda: Detect incorrect pre-image length (paritytech/polkadot-sdk#3718) Deprecate scheduler traits v1 and v2 (paritytech/polkadot-sdk#3738) Removed pallet::getter usage from pallet-alliance (paritytech/polkadot-sdk#3835) migrations: prevent accidentally using unversioned migrations instead of VersionedMigration

T0-node

(paritytech/polkadot-sdk#3166) Expose internal functions used by spawn_tasks (paritytech/polkadot-sdk#3160) prospective-parachains: respond with multiple backable candidates (paritytech/polkadot-sdk#2258) Make BEEFY client keystore generic over BEEFY AuthorityId type (paritytech/polkadot-sdk#3047) refactor pvf security module (paritytech/polkadot-sdk#3224) Prepare syncing for parallel sync strategies (paritytech/polkadot-sdk#3308) Parachains-Aura: Only produce once per slot (paritytech/polkadot-sdk#3358) do not block finality for "disabled" disputes (paritytech/polkadot-sdk#3301) rpc server: add rate limiting middleware (paritytech/polkadot-sdk#3364) rpc server: make possible to disable/enable batch requests (paritytech/polkadot-sdk#3418) sc-consensus-beefy: reduce log levels (paritytech/polkadot-sdk#3229) Elastic scaling: use an assumed CoreIndex in candidate-backing (paritytech/polkadot-sdk#3435) sc-consensus-beefy: pump gossip engine while waiting for initialization conditions (paritytech/polkadot-sdk#3002) PoV Reclaim Runtime Side (paritytech/polkadot-sdk#3447) Use generic hash for runtime wasm in resolve_state_version_from_wasm (paritytech/polkadot-sdk#2935) Introduce Notification block pinning limit (paritytech/polkadot-sdk#3335) Collator overseer builder unification (paritytech/polkadot-sdk#3187) PVF: re-preparing artifact on failed runtime construction (paritytech/polkadot-sdk#3523) Fix crash of synced parachain node run with --sync=warp (paritytech/polkadot-sdk#3233) provisioner: allow multiple cores assigned to the same para (paritytech/polkadot-sdk#3534) Remove useless Result import (paritytech/polkadot-sdk#3504) rpc server: add prometheus label is_rate_limited (paritytech/polkadot-sdk#3586) FIX: Make sc-network-sync types Public (paritytech/polkadot-sdk#3595) sc-manual-seal: don't spawn threads in tests (paritytech/polkadot-sdk#3579) move substrate-bip39 into polkadot-sdk (paritytech/polkadot-sdk#3511) Refactor polkadot-parachain service for more code reuse (paritytech/polkadot-sdk#3525) core: replace secp256k with k256 in crypto::ecdsa (paritytech/polkadot-sdk#2044) Support for keyring in runtimes (paritytech/polkadot-sdk#3747) approval-voting: remove some inefficiences on startup (paritytech/polkadot-sdk#3757) Make public addresses go first in authority discovery DHT records (paritytech/polkadot-sdk#3831) fix regression in approval-voting introduced in #3747 (paritytech/polkadot-sdk#3854) Export unified ParachainHostFunctions (paritytech/polkadot-sdk#2212) add missing syscalls for workers (paritytech/polkadot-sdk#3895) Fix addresses_to_publish_respects_existing_p2p_protocol test in sc-authority-discovery (paritytech/polkadot-sdk#3711) network:bridge: fix peer_count metric (paritytech/polkadot-sdk#3950) Add ClaimQueue wrapper

Review 'substrate-migrations' repo

https://github.com/apopiak/substrate-migrations#frame-migrations

This repository contains a list of FRAME-related migrations which might be relevant to Moonbeam.