From ed80b10ede1c22b9c84e3e694ddcdd21163b2c8a Mon Sep 17 00:00:00 2001 From: Will Qiu Date: Wed, 30 Nov 2022 14:43:52 +0800 Subject: [PATCH] add network --- bin/bundler.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/bundler.rs b/bin/bundler.rs index 8f5b7edc..2cf51204 100644 --- a/bin/bundler.rs +++ b/bin/bundler.rs @@ -7,7 +7,7 @@ use anyhow::Result; use clap::Parser; use expanded_pathbuf::ExpandedPathBuf; use jsonrpsee::{core::server::rpc_module::Methods, server::ServerBuilder, tracing::info}; -use std::{future::pending, panic}; +use std::{future::pending, net::SocketAddr, panic}; #[derive(Parser)] #[clap( @@ -32,6 +32,10 @@ pub struct Opt { #[clap(long, default_value = "127.0.0.1:4337")] pub rpc_listen_address: String, + // execution client rpc endpoint + #[clap(long)] + pub network: SocketAddr, + #[clap(flatten)] pub bundler_opts: aa_bundler::bundler::bundler::BundlerOpts, }