|
61 | 61 | ScEpochNumber, |
62 | 62 | >, |
63 | 63 | T::Api: BlockProductionLogApi<Block, BlockAuthor, Slot>, |
64 | | - T::Api: BlockParticipationApi<Block, BlockAuthor>, |
| 64 | + T::Api: BlockParticipationApi<Block, BlockAuthor, Slot>, |
65 | 65 | T::Api: GovernedMapIDPApi<Block>, |
66 | 66 | T::Api: TokenBridgeIDPRuntimeApi<Block>, |
67 | 67 | { |
|
71 | 71 | McHashIDP, |
72 | 72 | AriadneIDP, |
73 | 73 | BlockAuthorInherentProvider<Slot, BlockAuthor>, |
74 | | - BlockParticipationInherentDataProvider<BlockAuthor, DelegatorKey>, |
| 74 | + BlockParticipationInherentDataProvider<BlockAuthor, DelegatorKey, Slot>, |
75 | 75 | GovernedMapInherentDataProvider, |
76 | 76 | TokenBridgeInherentDataProvider<AccountId>, |
77 | 77 | ); |
@@ -122,7 +122,6 @@ where |
122 | 122 | parent_hash, |
123 | 123 | *slot, |
124 | 124 | mc_epoch_config, |
125 | | - config.sc_slot_config.slot_duration, |
126 | 125 | ) |
127 | 126 | .await?; |
128 | 127 |
|
@@ -184,15 +183,15 @@ where |
184 | 183 | ScEpochNumber, |
185 | 184 | >, |
186 | 185 | T::Api: BlockProductionLogApi<Block, BlockAuthor, Slot>, |
187 | | - T::Api: BlockParticipationApi<Block, BlockAuthor>, |
| 186 | + T::Api: BlockParticipationApi<Block, BlockAuthor, Slot>, |
188 | 187 | T::Api: GovernedMapIDPApi<Block>, |
189 | 188 | T::Api: TokenBridgeIDPRuntimeApi<Block>, |
190 | 189 | { |
191 | 190 | type InherentDataProviders = ( |
192 | 191 | TimestampIDP, |
193 | 192 | AriadneIDP, |
194 | 193 | BlockAuthorInherentProvider<Slot, BlockAuthor>, |
195 | | - BlockParticipationInherentDataProvider<BlockAuthor, DelegatorKey>, |
| 194 | + BlockParticipationInherentDataProvider<BlockAuthor, DelegatorKey, Slot>, |
196 | 195 | GovernedMapInherentDataProvider, |
197 | 196 | TokenBridgeInherentDataProvider<AccountId>, |
198 | 197 | ); |
@@ -248,7 +247,6 @@ where |
248 | 247 | parent_hash, |
249 | 248 | verified_block_slot, |
250 | 249 | mc_epoch_config, |
251 | | - config.sc_slot_config.slot_duration, |
252 | 250 | ) |
253 | 251 | .await?; |
254 | 252 |
|
|
0 commit comments