From 85ba47b8e104a21850bc52c55e8281499b4fae56 Mon Sep 17 00:00:00 2001 From: tmpolaczyk <44604217+tmpolaczyk@users.noreply.github.com> Date: Fri, 23 Aug 2024 12:12:54 +0200 Subject: [PATCH] Use same type as in RelayChainInterface (#31) --- client/orchestrator-chain-interface/src/lib.rs | 4 ++-- .../authorities-noting-inherent/src/tests.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/orchestrator-chain-interface/src/lib.rs b/client/orchestrator-chain-interface/src/lib.rs index fcf05d1..7b40211 100644 --- a/client/orchestrator-chain-interface/src/lib.rs +++ b/client/orchestrator-chain-interface/src/lib.rs @@ -108,7 +108,7 @@ pub trait OrchestratorChainInterface: Send + Sync { async fn prove_read( &self, orchestrator_parent: PHash, - relevant_keys: &[Vec], + relevant_keys: &Vec>, ) -> OrchestratorChainResult; /// Get a stream of import block notifications. @@ -169,7 +169,7 @@ where async fn prove_read( &self, orchestrator_parent: PHash, - relevant_keys: &[Vec], + relevant_keys: &Vec>, ) -> OrchestratorChainResult { (**self) .prove_read(orchestrator_parent, relevant_keys) diff --git a/container-chain-primitives/authorities-noting-inherent/src/tests.rs b/container-chain-primitives/authorities-noting-inherent/src/tests.rs index bf06f6f..eafcc19 100644 --- a/container-chain-primitives/authorities-noting-inherent/src/tests.rs +++ b/container-chain-primitives/authorities-noting-inherent/src/tests.rs @@ -105,7 +105,7 @@ impl OrchestratorChainInterface for DummyOrchestratorChainInterface { async fn prove_read( &self, hash: PHash, - keys: &[Vec], + keys: &Vec>, ) -> OrchestratorChainResult { self.orchestrator_client .state_at(hash)