fix: add data dir to basic example (#186)
This commit is contained in:
parent
7b7dc708f8
commit
1fa2dede25
|
@ -1,4 +1,4 @@
|
||||||
use std::str::FromStr;
|
use std::{path::PathBuf, str::FromStr};
|
||||||
|
|
||||||
use env_logger::Env;
|
use env_logger::Env;
|
||||||
use ethers::{types::Address, utils};
|
use ethers::{types::Address, utils};
|
||||||
|
@ -20,6 +20,7 @@ async fn main() -> Result<()> {
|
||||||
.consensus_rpc(consensus_rpc)
|
.consensus_rpc(consensus_rpc)
|
||||||
.execution_rpc(untrusted_rpc_url)
|
.execution_rpc(untrusted_rpc_url)
|
||||||
.load_external_fallback()
|
.load_external_fallback()
|
||||||
|
.data_dir(PathBuf::from("/tmp/helios"))
|
||||||
.build()?;
|
.build()?;
|
||||||
|
|
||||||
log::info!(
|
log::info!(
|
||||||
|
|
Loading…
Reference in New Issue