Skip to content

Commit 4a0684a

Browse files
committed
da-adapter: fix compilation warnings
1 parent 2f529da commit 4a0684a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sugondat-da-adapter/src/service.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ use crate::{
44
verifier::SugondatVerifier,
55
};
66
use async_trait::async_trait;
7-
use sov_rollup_interface::{da::DaSpec, services::da::DaService};
8-
use std::{future::Future, pin::Pin};
7+
use sov_rollup_interface::da::DaSpec;
8+
99
use subxt::backend::rpc::{rpc_params, RpcClient};
1010
use sugondat_subxt::sugondat::{
11-
runtime_types::bounded_collections::bounded_vec::BoundedVec, storage, timestamp,
11+
runtime_types::bounded_collections::bounded_vec::BoundedVec, storage,
1212
};
1313

1414
mod client;
@@ -190,7 +190,7 @@ impl sov_rollup_interface::services::da::DaService for DaProvider {
190190
async fn get_extraction_proof(
191191
&self,
192192
block: &Self::FilteredBlock,
193-
blobs: &[<Self::Spec as DaSpec>::BlobTransaction],
193+
_blobs: &[<Self::Spec as DaSpec>::BlobTransaction],
194194
) -> (
195195
<Self::Spec as DaSpec>::InclusionMultiProof,
196196
<Self::Spec as DaSpec>::CompletenessProof,

sugondat-da-adapter/src/verifier.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl DaVerifier for SugondatVerifier {
7070
block_header: &<Self::Spec as DaSpec>::BlockHeader,
7171
txs: &[<Self::Spec as DaSpec>::BlobTransaction],
7272
inclusion_proof: <Self::Spec as DaSpec>::InclusionMultiProof,
73-
completeness_proof: <Self::Spec as DaSpec>::CompletenessProof,
73+
_completeness_proof: <Self::Spec as DaSpec>::CompletenessProof,
7474
) -> Result<<Self::Spec as DaSpec>::ValidityCondition, Self::Error> {
7575
let validity_condition = ChainValidityCondition {
7676
prev_hash: block_header.prev_hash().0.into(),

0 commit comments

Comments
 (0)