Skip to content

Commit ab7706d

Browse files
authored
Update multiblock metadata (tracking SDK rev 8da42e8fae) (#1036)
`desired_targets` storage item now requires the round index as a parameter, so this change correctly aligns our code with the updated storage API in the Polkadot SDK. See [SDK PR](paritytech/polkadot-sdk#8304).
1 parent 3aeceb4 commit ab7706d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

artifacts/multi_block.scale

-20 KB
Binary file not shown.

src/commands/multi_block/types.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,9 @@ impl BlockDetails {
153153
let phase = storage
154154
.fetch_or_default(&runtime::storage().multi_block().current_phase())
155155
.await?;
156+
156157
let desired_targets = storage
157-
.fetch(&runtime::storage().multi_block().desired_targets())
158+
.fetch(&runtime::storage().multi_block().desired_targets(round))
158159
.await?
159160
.unwrap_or(0);
160161

0 commit comments

Comments
 (0)