Cached nonce allocator

This commit is contained in:
Omar Abdulla
2025-07-21 07:19:44 +03:00
parent dab8ffe520
commit 3cdf57f7c3
3 changed files with 26 additions and 59 deletions
-3
View File
@@ -24,9 +24,6 @@ pub trait EthereumNode {
/// Returns the state diff of the transaction hash in the [TransactionReceipt].
fn state_diff(&self, receipt: &TransactionReceipt) -> Result<DiffMode>;
/// Returns the next available nonce for the given [Address].
fn fetch_add_nonce(&self, address: Address) -> Result<u64>;
/// Returns the ID of the chain that the node is on.
fn chain_id(&self) -> Result<ChainId>;