This commit is contained in:
Giacomo Pasini 2025-04-24 12:37:36 +02:00
parent 8229128fb0
commit 7986ed02a0
No known key found for this signature in database
GPG Key ID: FC08489D2D895D4B
2 changed files with 10 additions and 5 deletions

View File

@ -1,13 +1,10 @@
use clap::Parser;
use evm_lightnode::{Credentials, NomosClient, nomos::HeaderId, proofcheck};
use tracing::info;
use evm_lightnode::proofcheck;
use url::Url;
use std::path::PathBuf;
use std::error;
use tracing_subscriber::{EnvFilter, fmt};
const TESTNET_EXECUTOR: &str = "https://testnet.nomos.tech/node/3/";
#[derive(Parser, Debug)]
#[clap(author, version, about = "Light Node validator")]
struct Args {
@ -46,4 +43,6 @@ async fn main() -> Result<(), Box<dyn error::Error>> {
&args.prover_url,
&args.zeth_binary_dir.unwrap_or_else(|| std::env::current_dir().unwrap()).join("zeth-ethereum"),
).await?;
Ok(())
}

View File

@ -1,9 +1,15 @@
use clap::Parser;
use reqwest::blocking::Client;
use serde_json::{json, Value};
use std::{path::PathBuf, process::Command, thread, time::Duration};
use std::{path::PathBuf, process::Command, thread, time::Duration, net::SocketAddr};
use tracing::{debug, error, info};
use tracing_subscriber::{fmt, EnvFilter};
use axum::{
routing::get,
Router,
};
mod http;
#[derive(Parser, Debug)]
#[clap(author, version, about = "Ethereum Proof Generation Tool")]