Skip to content

Commit ea5d13e

Browse files
committed
fix: compilation errors
1 parent 91279ce commit ea5d13e

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

aggregation_mode/proof_aggregator/src/backend/fetcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl ProofsFetcher {
3434
.await
3535
.map_err(ProofsFetcherError::Query)?;
3636

37-
let (proofs_to_aggregate, tasks_id): (Vec<Uuid>, Vec<AlignedProof>) = match engine {
37+
let (proofs_to_aggregate, tasks_id): (Vec<AlignedProof>, Vec<Uuid>) = match engine {
3838
ZKVMEngine::SP1 => {
3939
let pairs: Vec<(AlignedProof, Uuid)> = tasks
4040
.into_par_iter()

aggregation_mode/proof_aggregator/src/backend/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub struct ProofAggregator {
5757

5858
impl ProofAggregator {
5959
pub async fn new(config: Config) -> Self {
60-
let rpc_url = config.eth_rpc_url.parse().expect("RPC URL should be valid");
60+
let rpc_url: reqwest::Url = config.eth_rpc_url.parse().expect("RPC URL should be valid");
6161
let signer = LocalSigner::decrypt_keystore(
6262
config.ecdsa.private_key_store_path.clone(),
6363
config.ecdsa.private_key_store_password.clone(),
@@ -136,7 +136,7 @@ impl ProofAggregator {
136136
) -> Result<(), AggregatedProofSubmissionError> {
137137
let (proofs, tasks_id) = self
138138
.fetcher
139-
.query(self.engine.clone(), self.config.total_proofs_limit)
139+
.query(self.engine.clone(), self.config.total_proofs_limit as i64)
140140
.await
141141
.map_err(AggregatedProofSubmissionError::FetchingProofs)?;
142142

aggregation_mode/proof_aggregator/src/backend/types.rs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,20 @@ pub type AlignedProofAggregationServiceContract = AlignedProofAggregationService
3030
RootProvider,
3131
>,
3232
>;
33+
34+
pub type RPCProvider = alloy::providers::fillers::FillProvider<
35+
alloy::providers::fillers::JoinFill<
36+
alloy::providers::Identity,
37+
alloy::providers::fillers::JoinFill<
38+
alloy::providers::fillers::GasFiller,
39+
alloy::providers::fillers::JoinFill<
40+
alloy::providers::fillers::BlobGasFiller,
41+
alloy::providers::fillers::JoinFill<
42+
alloy::providers::fillers::NonceFiller,
43+
alloy::providers::fillers::ChainIdFiller,
44+
>,
45+
>,
46+
>,
47+
>,
48+
alloy::providers::RootProvider,
49+
>;

0 commit comments

Comments
 (0)