moonbeam-foundation / moonbeam

An Ethereum-compatible smart contract parachain on Polkadot
https://moonbeam.network
GNU General Public License v3.0
920 stars 337 forks source link

Update polkadot-sdk from v1.11.0 to stable2407 #2912

Closed github-actions[bot] closed 1 month ago

github-actions[bot] commented 3 months ago

Description

This ticket is automatically generated using

$ npm run print-version-bump-info -- --from v1.11.0 --to stable2407

polkadot-sdk (2024-04-25 -> 2024-07-29)

https://github.com/paritytech/polkadot-sdk/compare/polkadot-v1.11.0...polkadot-stable2407

    from: 0bb6249268c0b77d2834640b84cb52fdd3d7e860
      to: 743dc632fd6115b408376a6e4efe815bd804cd52
 commits: 570

Important commits by label

T9-cumulus

(paritytech/polkadot-sdk#4295) Make parachain template great again (and async backing ready) (paritytech/polkadot-sdk#4471) Remove the prospective-parachains subsystem from collators (paritytech/polkadot-sdk#4380) Remove parameterized-consensus-hook feature (paritytech/polkadot-sdk#4555) parachain-inherent: Make para_id more prominent (paritytech/polkadot-sdk#4595) collator-protocol: remove elastic-scaling-experimental feature (paritytech/polkadot-sdk#4733) add pov-recovery unit tests and support for elastic scaling (paritytech/polkadot-sdk#4618) Unify code_at logic between CallExecutor & Client (paritytech/polkadot-sdk#4097) Introduce basic slot-based collator

T8-polkadot

(paritytech/polkadot-sdk#4269) Fix polkadot parachains not producing blocks until next session (paritytech/polkadot-sdk#4211) Do not re-prepare PVFs if not needed (paritytech/polkadot-sdk#4294) rename fragment_tree folder to fragment_chain (paritytech/polkadot-sdk#2226) Implementation of the new validator disabling strategy (paritytech/polkadot-sdk#3444) Statement Distribution Per Peer Rate Limit (paritytech/polkadot-sdk#4332) HRMP - set DefaultChannelSizeAndCapacityWithSystem with dynamic values according to the ActiveConfig (paritytech/polkadot-sdk#4423) Add docs to request_core_count (paritytech/polkadot-sdk#4035) prospective-parachains rework (paritytech/polkadot-sdk#4471) Remove the prospective-parachains subsystem from collators (paritytech/polkadot-sdk#3935) Polkadot-SDK Umbrella Crate (paritytech/polkadot-sdk#1644) Add availability-recovery from systematic chunks (paritytech/polkadot-sdk#4339) Improve On_demand_assigner events (paritytech/polkadot-sdk#4595) collator-protocol: remove elastic-scaling-experimental feature (paritytech/polkadot-sdk#4431) statement-distribution: prep for re-enabling (paritytech/polkadot-sdk#4633) Unify dependency aliases (paritytech/polkadot-sdk#4662) Cleanup PVF artifact by cache limit and stale time (paritytech/polkadot-sdk#4691) Fix occupied core handling (paritytech/polkadot-sdk#4724) Fix core sharing and make use of scheduling_lookahead (paritytech/polkadot-sdk#4554) [statement-distribution] Add metrics for distributed statements in V2 (paritytech/polkadot-sdk#4755) Send PeerViewChange with high priority (paritytech/polkadot-sdk#5157) [stable2407 backport] runtime: make the candidate relay parent progression check more stric…

T7-smart_contracts

(paritytech/polkadot-sdk#4213) Contracts: Stabilize XCM host fns (paritytech/polkadot-sdk#4489) Contracts: remove kitchensink dynamic parameters (paritytech/polkadot-sdk#4510) Contracts: Remove topics for internal events (paritytech/polkadot-sdk#4233) Contracts: Rework host fn benchmarks (paritytech/polkadot-sdk#4418) Add READ_ONLY flag to contract call function (paritytech/polkadot-sdk#3679) Contracts: update wasmi to 0.32 (paritytech/polkadot-sdk#4566) [pallet_contracts] Add support for transient storage in contracts host functions

T6-XCM

(paritytech/polkadot-sdk#4202) [XCM] Treat recursion limit error as transient in the MQ (paritytech/polkadot-sdk#4220) Refactor XCM Simulator Example (paritytech/polkadot-sdk#4355) More xcm::v4 cleanup and xcm_fee_payment_runtime_api::XcmPaymentApi nits (paritytech/polkadot-sdk#4281) Add support for versioned notification for HRMP pallet (paritytech/polkadot-sdk#3872) XcmDryRunApi - Dry-running extrinsics to get their XCM effects (paritytech/polkadot-sdk#4528) [xcm]: Use latest Versioned* instead of V4 + bridges doc nits (paritytech/polkadot-sdk#4558) Mention new XCM docs in sdk docs (paritytech/polkadot-sdk#4567) Avoid using xcm::v4 and use latest instead for AssetHub benchmarks (paritytech/polkadot-sdk#4131) Deprecate XCMv2 (paritytech/polkadot-sdk#4621) Change XcmDryRunApi::dry_run_extrinsic to take a call instead (paritytech/polkadot-sdk#4634) Implement XcmPaymentApi and DryRunApi on all system parachains (paritytech/polkadot-sdk#4710) [HRMP] Dont partially modify pages (paritytech/polkadot-sdk#4857) [xcm] runtime api for LocationToAccount conversions (paritytech/polkadot-sdk#4777) allow clear_origin in safe xcm builder (paritytech/polkadot-sdk#4978) Add MAX_INSTRUCTIONS_TO_DECODE to XCMv2

T4-runtime_API

(paritytech/polkadot-sdk#4301) [Staking] Runtime api if era rewards are pending to be claimed (paritytech/polkadot-sdk#1644) Add availability-recovery from systematic chunks (paritytech/polkadot-sdk#4537) [Pools] Refactors and runtime apis for DelegateStake

T2-pallets

(paritytech/polkadot-sdk#4202) [XCM] Treat recursion limit error as transient in the MQ (paritytech/polkadot-sdk#3865) [balances] Safeguard against consumer ref underflow (paritytech/polkadot-sdk#4312) Assets Events for Deposited and Withdrawn (paritytech/polkadot-sdk#4364) Fix: dust unbonded for zero existential deposit (paritytech/polkadot-sdk#4091) Remove pallet::getter usage from authority-discovery pallet (paritytech/polkadot-sdk#4302) migrations: take()should consume read and write operation weight (paritytech/polkadot-sdk#3904) Introduces: Delegated Staking Pallet (paritytech/polkadot-sdk#4534) Add Extra Check in Primary Username Setter (paritytech/polkadot-sdk#3905) Refactor Nomination Pool to support multiple staking strategies (paritytech/polkadot-sdk#4521) Broker new price adapter (paritytech/polkadot-sdk#4537) [Pools] Refactors and runtime apis for DelegateStake (paritytech/polkadot-sdk#4645) make all storage items in parachain-system public (paritytech/polkadot-sdk#4646) [Identity] Remove double encoding username signature payload (paritytech/polkadot-sdk#3843) Add set_partial_params dispatchable function (paritytech/polkadot-sdk#4756) Do not make pallet-nfts benchmarks signature-dependent (paritytech/polkadot-sdk#3951) Implement pallet-assets-freezer (paritytech/polkadot-sdk#4513) Remove pallet::getter macro usage from pallet-elections-phragmen (paritytech/polkadot-sdk#4823) Ensure earliest allowed block is at minimum the next block (paritytech/polkadot-sdk#4877) Fellowship-core: add fast promote (paritytech/polkadot-sdk#4840) Remove getters from pallet-membership (paritytech/polkadot-sdk#4904) [Staking] Delegators can stake but stakers can't delegate (paritytech/polkadot-sdk#4839) Remove getter macro from pallet-insecure-randomness-collective-flip (paritytech/polkadot-sdk#4902) remove getter from vesting pallet (paritytech/polkadot-sdk#4885) remove getter from transaction storage pallet (paritytech/polkadot-sdk#4912) remove getter from babe pallet (paritytech/polkadot-sdk#3286) Assets: can_decrease/increase for destroying asset is not successful (paritytech/polkadot-sdk#5011) Use sp_runtime::traits::BadOrigin (paritytech/polkadot-sdk#4972) Remove pallet-getter usage from pallet-session

T15-bridges

(paritytech/polkadot-sdk#4102) Bridge: make some headers submissions free (paritytech/polkadot-sdk#4157) Bridge: added free headers submission support to the substrate-relay (paritytech/polkadot-sdk#4289) Bump bridges relay version + uncomment bridges zombeinet tests (paritytech/polkadot-sdk#4307) Bridges: added helper function to relay single GRANDPA proof + header (paritytech/polkadot-sdk#4175) Snowbridge: deposit extra fee to beneficiary on Asset Hub (paritytech/polkadot-sdk#4328) BEEFY: Define basic fisherman (paritytech/polkadot-sdk#4350) Bridge: ignore client errors when calling recently added *_free_headers_interval methods (paritytech/polkadot-sdk#4367) Bridge: fix zombienet tests (paritytech/polkadot-sdk#4365) Bridge: added subcommand to relay single parachain header (paritytech/polkadot-sdk#4385) Bridge: check bridge GRANDPA pallet call limits from signed extension (paritytech/polkadot-sdk#4430) Add generate and verify logic for AncestryProof (paritytech/polkadot-sdk#4451) Bridge: use -uri CLI arguments when starting relayer (paritytech/polkadot-sdk#4383) Bridge: add subcommand to relay messages range (paritytech/polkadot-sdk#4481) Bridge: drop subscriptions when they are no longer required (paritytech/polkadot-sdk#4478) Snowbridge - Ethereum Client - Reject finalized updates without a sync committee in next store period (paritytech/polkadot-sdk#4492) Bridge: fixed relayer version metric value (paritytech/polkadot-sdk#4501) Snowbridge - Ethereum Client - Public storage items (paritytech/polkadot-sdk#4528) [xcm]: Use latest `Versionedinstead ofV4+ bridges doc nits (paritytech/polkadot-sdk#4465) Bridge: added force_set_pallet_state call to pallet-bridge-grandpa (paritytech/polkadot-sdk#4548) Fix bridges grandpa benchmarks (#2577) (paritytech/polkadot-sdk#4550) DefineOpaqueValue (paritytech/polkadot-sdk#4562) Use polkadot-ckb-merkle-mountain-range dependency (paritytech/polkadot-sdk#4549) Bridge: check submit_finality_proof limits before submission (paritytech/polkadot-sdk#4453) Bridge: add subcommand to relay messages delivery confirmation (paritytech/polkadot-sdk#4732) Backport style changes from P<>K bridge to R<>W bridge (paritytech/polkadot-sdk#4494) Bridges - changes for Bridges V2 - relay client part (paritytech/polkadot-sdk#4821) Update bridges zombienet tests relay version (paritytech/polkadot-sdk#4825) Bump ws from 8.16.0 to 8.17.1 in /bridges/testing/framework/utils/generate_hex_encoded_call (paritytech/polkadot-sdk#4699) Ensure key ownership proof is optimal (paritytech/polkadot-sdk#4891) BridgeHubs fresh weights for bridging pallets (paritytech/polkadot-sdk#4888) [Rococo<>Westend bridge] Allow any asset over the lane between the two Asset Hubs (paritytech/polkadot-sdk#4522) [BEEFY] Add runtime support for reporting fork voting (paritytech/polkadot-sdk#4935) Bridges V2 refactoring backport andpallet_bridge_messages` simplifications (paritytech/polkadot-sdk#5017) Updated substrate-relay version for tests

T14-system_parachains

(paritytech/polkadot-sdk#4185) State trie migration on asset-hub westend and collectives westend (paritytech/polkadot-sdk#4394) Add Kusama People Chain genesis chainspec (paritytech/polkadot-sdk#4414) Rococo AH: undeploy trie migration (paritytech/polkadot-sdk#3952) [Runtime] Bound XCMP queue (paritytech/polkadot-sdk#4669) Add codeSubstitutes to rococo parachains (paritytech/polkadot-sdk#4444) Rococo AH: cleanup storage (paritytech/polkadot-sdk#3940) Coretime: Add request revenue info (paritytech/polkadot-sdk#4888) [Rococo<>Westend bridge] Allow any asset over the lane between the two Asset Hubs (paritytech/polkadot-sdk#4738) Adds CheckMetadata SignedExtension to Coretime Parachains (Rococo and Westend)

T12-benchmarks

(paritytech/polkadot-sdk#4283) Update approval-voting banchmarks base values (paritytech/polkadot-sdk#4285) [subsystem-benchmarks] Log standart deviation for subsystem-benchmarks (paritytech/polkadot-sdk#4532) Update subsystem benchmark baselines (paritytech/polkadot-sdk#3863) [subsystem-benchmarks] Add statement-distribution benchmarks (paritytech/polkadot-sdk#4540) [subsytem-bench] Remove redundant banchmark_name param (paritytech/polkadot-sdk#4728) glutton: also increase parachain block length (paritytech/polkadot-sdk#4772) [subsystem-bench] Trigger own assignments in approval-voting (paritytech/polkadot-sdk#5028) Adjust base value for statement-distribution regression tests

T11-documentation

(paritytech/polkadot-sdk#4304) fix(seal): shameless fix on sealing typo (paritytech/polkadot-sdk#4244) Add PoV-reclaim enablement guide to polkadot-sdk-docs (paritytech/polkadot-sdk#2955) Disabling Strategy Implementers Guide (paritytech/polkadot-sdk#4539) fixed link (paritytech/polkadot-sdk#4590) chore: fix typos (paritytech/polkadot-sdk#4353) Add release version to commits and branch names of template synchronization job (paritytech/polkadot-sdk#4623) Update README.md (paritytech/polkadot-sdk#4624) Update runtime_type ref doc with the new "Associated Type Bounds" (paritytech/polkadot-sdk#4628) Use Unlicense for templates (paritytech/polkadot-sdk#4649) Revamp the Readme of the minimal template (paritytech/polkadot-sdk#4687) Typos in template README (paritytech/polkadot-sdk#4678) chain-spec/presets reference docs added (paritytech/polkadot-sdk#4700) chain-spec-doc: some minor fixes (paritytech/polkadot-sdk#4711) Update link to a latest polkadot release (paritytech/polkadot-sdk#4654) New reference doc for Custom RPC V2 (paritytech/polkadot-sdk#4713) Revamp the Readme of the parachain template (paritytech/polkadot-sdk#4735) Update the pallet guide in sdk-docs (paritytech/polkadot-sdk#4768) add ref doc for logging practices in FRAME (paritytech/polkadot-sdk#4684) refactor: parachain template (paritytech/polkadot-sdk#4363) Add Async Backing guide (paritytech/polkadot-sdk#4943) Fix small typo in fungible token freeze docs (paritytech/polkadot-sdk#4983) add notices to the implementer's guide docs that changed for elastic scaling (paritytech/polkadot-sdk#4941) Explain usage of <T: Config> in FRAME storage + Update parachain pallet template (paritytech/polkadot-sdk#4663) add elastic scaling MVP guide

T10-tests

(paritytech/polkadot-sdk#4434) xcm-emlator: Use BlockNumberFor instead of parachains_common::BlockNumber=u32 (paritytech/polkadot-sdk#4463) chore: update zombienet version (paritytech/polkadot-sdk#4535) chore: bump zombienet version (paritytech/polkadot-sdk#4797) Impl and use default config for pallet-staking in tests (paritytech/polkadot-sdk#4728) glutton: also increase parachain block length (paritytech/polkadot-sdk#4958) Stabilize elastic-scaling pov-recovery test

T1-FRAME

(paritytech/polkadot-sdk#4183) remove unnessisary use statements due to 2021 core prelude (paritytech/polkadot-sdk#4119) Improvements in minimal template (paritytech/polkadot-sdk#4346) Allow for 0 existential deposit in benchmarks for pallet_staking, pallet_session, and pallet_balances (paritytech/polkadot-sdk#4364) Fix: dust unbonded for zero existential deposit (paritytech/polkadot-sdk#4370) Publish polkadot-sdk-frame crate (paritytech/polkadot-sdk#4034) Introduces TypeWithDefault<T, D: Get<T>> (paritytech/polkadot-sdk#3964) [pallet-balances] burn_allow_death extrinsic (paritytech/polkadot-sdk#4406) Adds benchmarking and try-runtime support in frame crate (paritytech/polkadot-sdk#4425) Fixes frame-support reference in try_decode_entire_state (paritytech/polkadot-sdk#4349) remote-externalities: store block header in snapshot (paritytech/polkadot-sdk#4326) CheckWeight SE: Check for extrinsic length + proof size combined (paritytech/polkadot-sdk#3904) Introduces: Delegated Staking Pallet (paritytech/polkadot-sdk#4461) Fix extrinsics count logging in frame-system (paritytech/polkadot-sdk#4475) Deprecate dmp-queue pallet (paritytech/polkadot-sdk#4392) Remove pallet::getter usage from the bounties and child-bounties pallets (paritytech/polkadot-sdk#4472) Remove pallet::getter usage from the democracy pallet (paritytech/polkadot-sdk#3393) Adds MaxRank Config in pallet-core-fellowship (paritytech/polkadot-sdk#4490) pallet_balances: Add try_state for checking Holds and Freezes (paritytech/polkadot-sdk#4514) Remove usage of the pallet::getter macro from pallet-fast-unstake (paritytech/polkadot-sdk#4274) Implement CheckMetadataHash extension (paritytech/polkadot-sdk#3905) Refactor Nomination Pool to support multiple staking strategies (paritytech/polkadot-sdk#4571) check-weight: Disable total pov size check for mandatory extrinsics (paritytech/polkadot-sdk#4249) Moves runtime macro out of experimental flag (paritytech/polkadot-sdk#4643) Better error for missing index in CRV2 (paritytech/polkadot-sdk#4642) Frame Pallets: Clean a lot of test setups (paritytech/polkadot-sdk#4765) CheckWeight: account for extrinsic len as proof size (paritytech/polkadot-sdk#3374) remove pallet::getter usage from pallet-timestamp (paritytech/polkadot-sdk#3820) Remove deprecated treasury pallet calls (paritytech/polkadot-sdk#4596) Frame: Consideration trait generic over Footprint and indicates zero cost (paritytech/polkadot-sdk#4865) pallet-membership should implement ContainsLengthBound (paritytech/polkadot-sdk#4807) pallet ranked collective: max member count per rank (paritytech/polkadot-sdk#4831) treasury pallet: remove unused config parameters (paritytech/polkadot-sdk#4769) Use real rust type for pallet alias in runtime macro (paritytech/polkadot-sdk#3828) [FRAME] Remove storage migration type (paritytech/polkadot-sdk#4757) pallet assets: optional auto-increment for the asset ID (paritytech/polkadot-sdk#4915) Fixes warnings in frame-support-procedural crate (paritytech/polkadot-sdk#4943) Fix small typo in fungible token freeze docs (paritytech/polkadot-sdk#4863) Make tracing::log work in the runtime

T0-node

(paritytech/polkadot-sdk#3444) Statement Distribution Per Peer Rate Limit (paritytech/polkadot-sdk#4330) deps: update jsonrpsee to v0.22.5 (paritytech/polkadot-sdk#4329) Deprecate NativeElseWasmExecutor (paritytech/polkadot-sdk#3701) rpc: add option to whitelist ips in rate limiting (paritytech/polkadot-sdk#4426) rustls: Disable logging (paritytech/polkadot-sdk#4442) improve MockValidationDataInherentDataProvider to support async backing (paritytech/polkadot-sdk#3962) Change forks pruning algorithm. (paritytech/polkadot-sdk#4457) Export all public functions of sc-service (paritytech/polkadot-sdk#4480) Demote per-peer validation slots warning to debug (paritytech/polkadot-sdk#4533) Fixed RPC subscriptions leak when subscription stream is finished (paritytech/polkadot-sdk#4198) Replace Multiaddr & related types with substrate-specific types (paritytech/polkadot-sdk#4541) rustls: Disable logging again (paritytech/polkadot-sdk#4399) availability-recovery: bump chunk fetch threshold to 1MB for Polkadot and 4MB for Kusama + testnets (paritytech/polkadot-sdk#4410) sc-chain-spec: deprecated code removed (paritytech/polkadot-sdk#1644) Add availability-recovery from systematic chunks (paritytech/polkadot-sdk#4587) Add metric to measure the time it takes to gather enough assignments (paritytech/polkadot-sdk#4542) Adds ability to specify chain type in chain-spec-builder (paritytech/polkadot-sdk#4669) Add codeSubstitutes to rococo parachains (paritytech/polkadot-sdk#4662) Cleanup PVF artifact by cache limit and stale time (paritytech/polkadot-sdk#4721) finalization: Skip tree route calculation if no forks present (paritytech/polkadot-sdk#1223) Append overlay optimization. (paritytech/polkadot-sdk#4666) polkadot-parachain-bin: small cosmetics and improvements (paritytech/polkadot-sdk#4810) Improve pruning CLI documentation (paritytech/polkadot-sdk#4618) Unify code_at logic between CallExecutor & Client (paritytech/polkadot-sdk#4802) rpc server: add health/readiness endpoint (paritytech/polkadot-sdk#4855) sc-network-types: implement From<IpAddr> for Multiaddr (paritytech/polkadot-sdk#4833) Reinitialize should allow to override existing config in collationGeneration (paritytech/polkadot-sdk#4685) chain-spec-builder: Add support for codeSubstitutes (paritytech/polkadot-sdk#1631) Upgrade libp2p to 0.52.4 (paritytech/polkadot-sdk#4844) Block import and verification refactoring (paritytech/polkadot-sdk#4730) rpc: upgrade jsonrpsee v0.23 (paritytech/polkadot-sdk#4799) network: Upgrade litep2p to v0.6.2 (paritytech/polkadot-sdk#4805) Add Runtime::OmniNode variant to polkadot-parachain (paritytech/polkadot-sdk#4932) polkadot-parachain: Unify asset-hub authoring codepath with general AURA (paritytech/polkadot-sdk#4097) Introduce basic slot-based collator (paritytech/polkadot-sdk#4922) Optimize finalization performance (paritytech/polkadot-sdk#4916) polkadot-parachain simplifications and deduplications (paritytech/polkadot-sdk#4554) [statement-distribution] Add metrics for distributed statements in V2 (paritytech/polkadot-sdk#4848) [1 / 5] Optimize logic for gossiping assignments (paritytech/polkadot-sdk#4755) Send PeerViewChange with high priority (paritytech/polkadot-sdk#4997) Do not crash on block gap in displaced_leaves_after_finalizing (paritytech/polkadot-sdk#5040) fix: Update libp2p-websocket to v0.42.2 to fix panics

R1-breaking_change

(paritytech/polkadot-sdk#4185) State trie migration on asset-hub westend and collectives westend (paritytech/polkadot-sdk#4521) Broker new price adapter

N/A

(paritytech/polkadot-sdk#undefined) undefined

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.

RomarQ commented 1 month ago

The dependency updates have been include in runtime 3300, closing.