Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,184 changes: 590 additions & 594 deletions Cargo.lock

Large diffs are not rendered by default.

182 changes: 91 additions & 91 deletions Cargo.toml

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions changes/changed/polkadot-stable2512-3-node-runtime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#node #runtime
# Align node and runtime with polkadot-stable2512-3 SDK

Bumps Substrate dependencies to the `polkadot-stable2512-3` tag and updates call sites for breaking API changes: `Core::execute_block` and `BlockBuilder::check_inherents` now use `LazyBlock`; `SpawnTasksParams` requires `tracing_execute_block` (set to `None` unless trace RPC is wired); `MmrApi` v3 gains `generate_ancestry_proof` while `BeefyApi` no longer exposes it; pallet-version test mock implements `Core` with `LazyBlock`. Partner-chains and lockfiles are updated in line with the same SDK line.

PR: https://github.com/midnightntwrk/midnight-node/pull/1262
Required for https://github.com/midnightntwrk/midnight-node/issues/1244
Binary file modified metadata/static/midnight_metadata.scale
Binary file not shown.
Binary file modified metadata/static/midnight_metadata_1.0.0.scale
Binary file not shown.
1 change: 1 addition & 0 deletions node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,7 @@ pub async fn new_full<Network: sc_network::NetworkBackend<Block, <Block as Block
sync_service: sync_service.clone(),
config,
telemetry: telemetry.as_mut(),
tracing_execute_block: None,
})?;

if role.is_authority() {
Expand Down
2 changes: 1 addition & 1 deletion pallets/version/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl_runtime_apis! {
VERSION
}

fn execute_block(_: Block) {}
fn execute_block(_: <Block as BlockT>::LazyBlock) {}

fn initialize_block(_: &<Block as BlockT>::Header) -> sp_runtime::ExtrinsicInclusionMode {
sp_runtime::ExtrinsicInclusionMode::OnlyInherents
Expand Down
Loading
Loading