Cached nonce allocator

This commit is contained in:
Omar Abdulla committed 2025-07-21 07:19:44 +03:00
1 parent dab8ffe520
commit 3cdf57f7c3
3 files changed
+26 -59

No files matched your search

-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>;