Implement a solution for the pre-fund account limit

This commit is contained in:
Omar Abdulla
2025-09-28 16:52:43 +03:00
parent f9dc362c03
commit ec96410546
9 changed files with 228 additions and 32 deletions
+3
View File
@@ -14,6 +14,9 @@ use revive_dt_format::traits::ResolverApi;
/// An interface for all interactions with Ethereum compatible nodes.
#[allow(clippy::type_complexity)]
pub trait EthereumNode {
/// A function to run post spawning the nodes and before any transactions are run on the node.
fn pre_transactions(&mut self) -> Pin<Box<dyn Future<Output = anyhow::Result<()>> + '_>>;
fn id(&self) -> usize;
/// Returns the nodes connection string.