Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-atreya committed Sep 27, 2024
1 parent 558b2fc commit 0829f70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,12 @@ enum BackendRequest {
UpdateBlockHash(BlockHashData),
}

/// Serves as a marker to identify whether the RPC provider supports `eth_getAccount`
#[derive(PartialEq, Clone)]
enum GetAccountMode {
/// The provider supports `eth_getAccount`
EthGetAccount,
/// It doesn't support, and we have to fetch balance, nonce, and code concurrently
AccountCodeNonce,
}

Expand Down

0 comments on commit 0829f70

Please sign in to comment.