fix: add data dir to basic example (#186)

This commit is contained in:
Noah Citron 2023-02-01 13:40:11 -05:00 committed by GitHub
parent 7b7dc708f8
commit 1fa2dede25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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!(