Skip to content

Commit

Permalink
Use same type as in RelayChainInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpolaczyk committed Aug 23, 2024
1 parent 87a34ef commit 483fc7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/orchestrator-chain-interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pub trait OrchestratorChainInterface: Send + Sync {
async fn prove_read(
&self,
orchestrator_parent: PHash,
relevant_keys: &[Vec<u8>],
relevant_keys: &Vec<Vec<u8>>,
) -> OrchestratorChainResult<StorageProof>;

/// Get a stream of import block notifications.
Expand Down Expand Up @@ -169,7 +169,7 @@ where
async fn prove_read(
&self,
orchestrator_parent: PHash,
relevant_keys: &[Vec<u8>],
relevant_keys: &Vec<Vec<u8>>,
) -> OrchestratorChainResult<StorageProof> {
(**self)
.prove_read(orchestrator_parent, relevant_keys)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl OrchestratorChainInterface for DummyOrchestratorChainInterface {
async fn prove_read(
&self,
hash: PHash,
keys: &[Vec<u8>],
keys: &Vec<Vec<u8>>,
) -> OrchestratorChainResult<sc_client_api::StorageProof> {
self.orchestrator_client
.state_at(hash)
Expand Down

0 comments on commit 483fc7b

Please sign in to comment.