feat: add directory watcher to StaticFileProvider::read_only (#10701)

This commit is contained in:
joshieDo
2024-09-05 17:32:37 +01:00
committed by GitHub
parent 1ec5678081
commit e8128a3c85
9 changed files with 187 additions and 8 deletions

View File

@ -53,7 +53,7 @@ async fn main() -> eyre::Result<()> {
let factory = ProviderFactory::<NodeTypesWithDBAdapter<EthereumNode, Arc<DatabaseEnv>>>::new(
db.clone(),
spec.clone(),
StaticFileProvider::read_only(db_path.join("static_files"))?,
StaticFileProvider::read_only(db_path.join("static_files"), true)?,
);
// 2. Setup the blockchain provider using only the database provider and a noop for the tree to