feat(provider): implement BlockProvider::block (#1426)

This commit is contained in:
Roman Krasiuk
2023-02-17 13:13:49 +02:00
committed by GitHub
parent 94f759761a
commit 4203d7a9b7
5 changed files with 56 additions and 14 deletions

View File

@ -107,7 +107,7 @@ impl Command {
network_config_builder = self.discovery.apply_to_builder(network_config_builder);
let network = network_config_builder
.build(Arc::new(ShareableDatabase::new(noop_db)))
.build(Arc::new(ShareableDatabase::new(noop_db, self.chain.clone())))
.start_network()
.await?;