Skip to content

Commit b1c8150

Browse files
authored
Fix typos in Anvil module comments, docs, and test names (#10889)
* Update mod.rs * Update api.rs * Update miner.rs * Update anvil_api.rs
1 parent 4f57725 commit b1c8150

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

crates/anvil/core/src/eth/transaction/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ pub struct PendingTransaction {
361361
pub transaction: MaybeImpersonatedTransaction,
362362
/// the recovered sender of this transaction
363363
sender: Address,
364-
/// hash of `transaction`, so it can easily be reused with encoding and hashing agan
364+
/// hash of `transaction`, so it can easily be reused with encoding and hashing again
365365
hash: TxHash,
366366
}
367367

crates/anvil/src/eth/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2724,7 +2724,7 @@ impl EthApi {
27242724
}
27252725
}
27262726

2727-
// ===== impl Wallet endppoints =====
2727+
// ===== impl Wallet endpoints =====
27282728
impl EthApi {
27292729
/// Get the capabilities of the wallet.
27302730
///

crates/anvil/src/eth/miner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pub enum MiningMode {
135135
/// A miner that constructs a new block every `interval` tick
136136
FixedBlockTime(FixedBlockTimeMiner),
137137

138-
/// A minner that uses both Auto and FixedBlockTime
138+
/// A miner that uses both Auto and FixedBlockTime
139139
Mixed(ReadyTransactionMiner, FixedBlockTimeMiner),
140140
}
141141

crates/anvil/tests/it/anvil_api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ async fn evm_mine_blk_with_same_timestamp() {
10031003

10041004
// mine 4 blocks instantly.
10051005
#[tokio::test(flavor = "multi_thread")]
1006-
async fn test_mine_blks_with_same_timestamp() {
1006+
async fn test_mine_blk_with_same_timestamp() {
10071007
let (api, handle) = spawn(NodeConfig::test()).await;
10081008
let provider = handle.http_provider();
10091009

0 commit comments

Comments
 (0)