mirror of
https://github.com/logos-blockchain/logos-blockchain-pocs.git
synced 2026-01-02 13:13:09 +00:00
fix
This commit is contained in:
parent
8229128fb0
commit
7986ed02a0
@ -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(())
|
||||
}
|
||||
|
||||
@ -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")]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user