mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: fix typos (#9851)
This commit is contained in:
@ -247,7 +247,7 @@ impl Command {
|
||||
}
|
||||
}
|
||||
|
||||
// Stoarge trie
|
||||
// Storage trie
|
||||
let mut first_mismatched_storage = None;
|
||||
let mut incremental_storage_trie_iter = incremental_storage_trie.into_iter().peekable();
|
||||
let mut clean_storage_trie_iter = clean_storage_trie.into_iter().peekable();
|
||||
|
||||
@ -100,7 +100,7 @@ impl ExecInput {
|
||||
let (end_block, is_final_range, next_tx_num) = if all_tx_cnt <= tx_threshold {
|
||||
(target_block, true, target_block_body.next_tx_num())
|
||||
} else {
|
||||
// get tx block number. next_tx_num in this case will be less thean all_tx_cnt.
|
||||
// get tx block number. next_tx_num in this case will be less than all_tx_cnt.
|
||||
// So we are sure that transaction must exist.
|
||||
let end_block_number = provider
|
||||
.transaction_block(first_tx_num + tx_threshold)?
|
||||
|
||||
@ -15,7 +15,7 @@ pub const NUM_OF_INDICES_IN_SHARD: usize = 2_000;
|
||||
/// Sometimes data can be too big to be saved for a single key. This helps out by dividing the data
|
||||
/// into different shards. Example:
|
||||
///
|
||||
/// `Address | Storagekey | 200` -> data is from transition 0 to 200.
|
||||
/// `Address | StorageKey | 200` -> data is from transition 0 to 200.
|
||||
///
|
||||
/// `Address | StorageKey | 300` -> data is from transition 201 to 300.
|
||||
#[derive(
|
||||
|
||||
@ -188,7 +188,7 @@ fn receipts_provider_example<T: ReceiptProvider + TransactionsProvider + HeaderP
|
||||
let topic = B256::random();
|
||||
|
||||
// TODO: Make it clearer how to choose between event_signature(topic0) (event name) and the
|
||||
// other 3 indexed topics. This API is a bit clunky and not obvious to use at the moemnt.
|
||||
// other 3 indexed topics. This API is a bit clunky and not obvious to use at the moment.
|
||||
let filter = Filter::new().address(addr).event_signature(topic);
|
||||
let filter_params = FilteredParams::new(Some(filter));
|
||||
let address_filter = FilteredParams::address_filter(&addr.into());
|
||||
|
||||
Reference in New Issue
Block a user