mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 21:51:06 +00:00
Polkadot companion for 8114 (#2437)
* Polkadot companion for 8114 https://github.com/paritytech/substrate/pull/8114 * "Update Substrate" Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -79,7 +79,7 @@ where
|
||||
+ Send
|
||||
+ Sync,
|
||||
Client::Api:
|
||||
BlockBuilderApi<Block> + ApiExt<Block, Error = sp_blockchain::Error>,
|
||||
BlockBuilderApi<Block> + ApiExt<Block>,
|
||||
Backend:
|
||||
'static + sc_client_api::Backend<Block, State = sp_api::StateBackendFor<Client, Block>>,
|
||||
// Rust bug: https://github.com/rust-lang/rust/issues/24159
|
||||
@@ -133,7 +133,7 @@ where
|
||||
+ Send
|
||||
+ Sync,
|
||||
Client::Api:
|
||||
BlockBuilderApi<Block> + ApiExt<Block, Error = sp_blockchain::Error>,
|
||||
BlockBuilderApi<Block> + ApiExt<Block>,
|
||||
Backend:
|
||||
'static + sc_client_api::Backend<Block, State = sp_api::StateBackendFor<Client, Block>>,
|
||||
// Rust bug: https://github.com/rust-lang/rust/issues/24159
|
||||
@@ -179,7 +179,7 @@ where
|
||||
+ Send
|
||||
+ Sync,
|
||||
Client::Api:
|
||||
BlockBuilderApi<Block> + ApiExt<Block, Error = sp_blockchain::Error>,
|
||||
BlockBuilderApi<Block> + ApiExt<Block>,
|
||||
Backend:
|
||||
'static + sc_client_api::Backend<Block, State = sp_api::StateBackendFor<Client, Block>>,
|
||||
// Rust bug: https://github.com/rust-lang/rust/issues/24159
|
||||
|
||||
@@ -453,8 +453,6 @@ mod tests {
|
||||
|
||||
sp_api::mock_impl_runtime_apis! {
|
||||
impl ParachainHost<Block> for MockRuntimeApi {
|
||||
type Error = sp_api::ApiError;
|
||||
|
||||
fn validators(&self) -> Vec<ValidatorId> {
|
||||
self.validators.clone()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user