-
Notifications
You must be signed in to change notification settings - Fork 10
feat: ⏫ upgrade to Polkadot SDK v1.13.0 #216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.
Nice! 👍🏼
|
|
||
| let para_head_data = HeadData(para_header).encode(); | ||
| let raw_para_head_data = HeadData(para_header); | ||
| let para_head_data = raw_para_head_data.encode(); |
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.
Few too many tabs
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.
That's weird, it looks totally normal locally, not sure what happened here
Co-authored-by: Facundo Farall <[email protected]>
…song-Labs/storage-hub into update/polkadot-sdk-v1.13.0
This PR replaces #214 since that branch got messed up when merging from main
This PR includes all changes from Polkadot SDK v1.11.0 to v1.12.0 and from v1.12.0 to v1.13.0. Those are as following:
v1.11.0 to v1.12.0 - Polkadot SDK Upgrade
Node Dev:—devmode for async backing.Runtime Dev:pallet-balances.XcmDryRunApi, a runtime API to dry-run extrinsics and XCM programs. It complementes the previously addedXcmPaymentApias that one required you knowing the actual XCM you wanted to execute or send, but most XCM messages are sent by extrinsics and are unknown to users.XcmPaymentApiTypeWithDefault<T, D: Get<T>>type, which allows us to provide a custom default for any type. For example, we could have a nonce type that returns as default the current block number, avoiding the replay of immortal transactions.burnextrinsic topallet-balancesto burn tokens from a user.frame-system, where the number of extrinsics in the block was always 0 in the log offrame-systempallet:getterfrom mock network message queueDispatchClassof the extrinsic isMandatoryNode Operator:v1.12.0 to v1.13.0 - Polkadot SDK Upgrade
Node Dev:sc-chain-spec.RuntimeGenesisConfiggeneric type parameter was removed fromGenericChainSpecstruct, updated StorageHub accordingly.para_idtoMockValidationDataInherentDataProviderinstead ofMockXcmConfig.elastic-scaling-experimentalfeature flag from collators. Collators of parachains with multiple cores must respond withCollationWithParentHeadData, otherwise withCollationFetchingResponse::Collation.Multiaddr& related types with substrate-specific types.sc-network-types’sPeerIdinstead oflibp2p-identityone.Runtime Dev:polkadot-sdkat once, with the featuresruntimeto get the crate’s no-std versions andnodeto get the std ones (plus a few extra features)..tomls A LOT. Examples of how to use it in the PR.xcmp-queuepallet, enforcing upper limits for the number of active XCMP channels and outgoing XCMP messages.parameterized-consensus-hookfeature from thecumulus-pallet-parachain-systemcrate.CheckMetadataHashsigned extension (as described in RFC78).XcmPaymentApiandDryRunApion all system parachains.dmp-queuepallet.on_initializereserves a bunch of weight foron_finalize, the mandatory extrinsics can be applied.randomnesspallet.XcmDryRunApi::dry_run_extrinsicto take a call instead.cumulus-parachain-systempublic.pallet:getters but did not make our required storage items public can finally be solved! Critical TODOs finished.Node Operator:author_submitAndWatchExtrinsic, so it’s good to know it’s fixed.chain-spec-buildercmd to specify the chain type, defaults to Live.