Conversation
ccc7239 to
80c820d
Compare
0292758 to
2a3fd8f
Compare
LGLO
approved these changes
Apr 10, 2026
2 tasks
m2ux
added a commit
that referenced
this pull request
Apr 23, 2026
* chore: updated SDK to polkadot-stable2512-3 * chore: updated SDK for partner-chains to polkadot-stable2512-3 --------- Co-authored-by: Oscar Bailey <79094698+ozgb@users.noreply.github.com> Co-authored-by: Squirrel <giles.cope@shielded.io> Signed-off-by: Mike Clay <mike.clay@shielded.io>
m2ux
added a commit
that referenced
this pull request
Apr 23, 2026
* chore: updated SDK to polkadot-stable2512-3 * chore: updated SDK for partner-chains to polkadot-stable2512-3 --------- Co-authored-by: Oscar Bailey <79094698+ozgb@users.noreply.github.com> Co-authored-by: Squirrel <giles.cope@shielded.io> Signed-off-by: Mike Clay <mike.clay@shielded.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR bumps Substrate / Polkadot SDK dependencies to
polkadot-stable2512-3(parity tag onpolkadot-sdk) and applies the follow-on API changes required for that release. The goal is to stay aligned with upstream stable2512 and with the partner-chains stack (see partner-chains#28). Required for #1244Runtime / API
sp_api::Core:execute_blocknow takes<Block as BlockT>::LazyBlockinstead ofBlock; the implementation forwards directly toExecutive::execute_block, which expects a lazy block in this SDK version.sp_block_builder::BlockBuilder:check_inherentslikewise takesLazyBlock;InherentData::check_extrinsicsis called with that type.mmr::MmrApi: API version 3 addsgenerate_ancestry_proofon the runtime API (ancestry proof generation was removed fromBeefyApiin this line). The runtime implements it by delegating topallet_mmr::Pallet::generate_ancestry_proof, and theMmrApiimpl is annotated with#[api_version(3)]to match upstream runtimes (e.g. Westend / node template).BeefyApi:generate_ancestry_proofis not implemented onBeefyApianymore in stable2512-3; callers should useMmrApi::generate_ancestry_proofinstead.Encodeimport in the runtime where it became redundant.Node
sc_service::SpawnTasksParams: new fieldtracing_execute_block(Option<Arc<dyn TracingExecuteBlock<_>>>). Set toNoneunless you wire uptrace_blockRPC tracing (matches upstream solochain / node CLI templates).Tests / mocks
pallet-versionmock:impl sp_api::Coreusesexecute_block(_: <Block as BlockT>::LazyBlock)for the sameCoreAPI change.📌 Submission Checklist
🧪 Testing Evidence
Please describe any additional testing aside from CI:
🔱 Fork Strategy
Links