From 6af4d0f0ec880eec19fd58d23d8d46d55439f197 Mon Sep 17 00:00:00 2001 From: ratankaliani Date: Mon, 23 Dec 2024 01:10:45 +0000 Subject: [PATCH] feat --- scripts/utils/bin/fetch_and_save_proof.rs | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/scripts/utils/bin/fetch_and_save_proof.rs b/scripts/utils/bin/fetch_and_save_proof.rs index f7a39c25..df3bbacc 100644 --- a/scripts/utils/bin/fetch_and_save_proof.rs +++ b/scripts/utils/bin/fetch_and_save_proof.rs @@ -1,24 +1,16 @@ -use alloy::{hex, sol_types::SolValue}; -use alloy_primitives::{Address, B256}; +use alloy_primitives::Address; use anyhow::Result; use clap::Parser; use futures::StreamExt; -use op_succinct_client_utils::{boot::BootInfoStruct, AGGREGATION_OUTPUTS_SIZE}; use sp1_sdk::{ - network_v2::{ - client::NetworkClient, - proto::network::{ - prover_network_client::ProverNetworkClient, FulfillmentStatus, - GetFilteredProofRequestsRequest, ProofMode, - }, + network_v2::proto::network::{ + prover_network_client::ProverNetworkClient, FulfillmentStatus, + GetFilteredProofRequestsRequest, ProofMode, }, NetworkProverV2, Prover, SP1ProofWithPublicValues, SP1Stdin, }; -use std::{env, fs, path::Path, str::FromStr}; -use tonic::{ - transport::{channel::ClientTlsConfig, Channel}, - Code, -}; +use std::{env, str::FromStr}; +use tonic::transport::{channel::ClientTlsConfig, Channel}; pub const RANGE_ELF: &[u8] = include_bytes!("../../../elf/range-elf");