apply fmt

This commit is contained in:
pgherveou
2025-10-08 09:27:11 +02:00
parent e16f8ebf59
commit c676114fe1
55 changed files with 11955 additions and 12728 deletions
+10 -10
View File
@@ -10,16 +10,16 @@ pub mod provider_utils;
/// An abstract interface for testing nodes.
pub trait Node: EthereumNode {
/// Spawns a node configured according to the genesis json.
///
/// Blocking until it's ready to accept transactions.
fn spawn(&mut self, genesis: Genesis) -> anyhow::Result<()>;
/// Spawns a node configured according to the genesis json.
///
/// Blocking until it's ready to accept transactions.
fn spawn(&mut self, genesis: Genesis) -> anyhow::Result<()>;
/// Prune the node instance and related data.
///
/// Blocking until it's completely stopped.
fn shutdown(&mut self) -> anyhow::Result<()>;
/// Prune the node instance and related data.
///
/// Blocking until it's completely stopped.
fn shutdown(&mut self) -> anyhow::Result<()>;
/// Returns the node version.
fn version(&self) -> anyhow::Result<String>;
/// Returns the node version.
fn version(&self) -> anyhow::Result<String>;
}