-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: ⏫ upgrade to Polkadot SDK v1.13.0 #216
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
:—dev
mode for async backing.Runtime Dev
:pallet-balances
.XcmDryRunApi
, a runtime API to dry-run extrinsics and XCM programs. It complementes the previously addedXcmPaymentApi
as 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.XcmPaymentApi
TypeWithDefault<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.burn
extrinsic topallet-balances
to burn tokens from a user.frame-system
, where the number of extrinsics in the block was always 0 in the log offrame-system
pallet:getter
from mock network message queueDispatchClass
of the extrinsic isMandatory
Node Operator
:v1.12.0 to v1.13.0 - Polkadot SDK Upgrade
Node Dev
:sc-chain-spec
.RuntimeGenesisConfig
generic type parameter was removed fromGenericChainSpec
struct, updated StorageHub accordingly.para_id
toMockValidationDataInherentDataProvider
instead ofMockXcmConfig
.elastic-scaling-experimental
feature 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
’sPeerId
instead oflibp2p-identity
one.Runtime Dev
:polkadot-sdk
at once, with the featuresruntime
to get the crate’s no-std versions andnode
to get the std ones (plus a few extra features)..toml
s A LOT. Examples of how to use it in the PR.xcmp-queue
pallet, enforcing upper limits for the number of active XCMP channels and outgoing XCMP messages.parameterized-consensus-hook
feature from thecumulus-pallet-parachain-system
crate.CheckMetadataHash
signed extension (as described in RFC78).XcmPaymentApi
andDryRunApi
on all system parachains.dmp-queue
pallet.on_initialize
reserves a bunch of weight foron_finalize
, the mandatory extrinsics can be applied.randomness
pallet.XcmDryRunApi::dry_run_extrinsic
to take a call instead.cumulus-parachain-system
public.pallet:getter
s 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-builder
cmd to specify the chain type, defaults to Live.