Skip to content

Commit

Permalink
docs: fix typos (#2375)
Browse files Browse the repository at this point in the history
  • Loading branch information
omahs authored Nov 6, 2024
1 parent a84b692 commit 0c9e5f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/ape/api/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def prepare_transaction(self, txn: TransactionAPI) -> TransactionAPI:
:class:`~ape.api.transactions.TransactionAPI`
"""

# NOTE: Allow overriding nonce, assume user understand what this does
# NOTE: Allow overriding nonce, assume user understands what this does
if txn.nonce is None:
txn.nonce = self.nonce
elif txn.nonce < self.nonce:
Expand Down
8 changes: 4 additions & 4 deletions src/ape/api/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class BlockAPI(BaseInterfaceModel):
An abstract class representing a block and its attributes.
"""

# NOTE: All fields in this class (and it's subclasses) should not be `Optional`
# NOTE: All fields in this class (and its subclasses) should not be `Optional`
# except the edge cases noted below

num_transactions: HexInt = 0
Expand Down Expand Up @@ -231,7 +231,7 @@ def connection_str(self) -> str:
@abstractmethod
def connect(self):
"""
Connect a to a provider, such as start-up a process or create an HTTP connection.
Connect to a provider, such as start-up a process or create an HTTP connection.
"""

@abstractmethod
Expand Down Expand Up @@ -352,7 +352,7 @@ def network_choice(self) -> str:
def make_request(self, rpc: str, parameters: Optional[Iterable] = None) -> Any:
"""
Make a raw RPC request to the provider.
Advanced featues such as tracing may utilize this to by-pass unnecessary
Advanced features such as tracing may utilize this to by-pass unnecessary
class-serializations.
"""

Expand Down Expand Up @@ -933,7 +933,7 @@ def auto_mine(self) -> bool:
@abstractmethod
def auto_mine(self) -> bool:
"""
Enable or disbale automine.
Enable or disable automine.
"""

def _increment_call_func_coverage_hit_count(self, txn: TransactionAPI):
Expand Down

0 comments on commit 0c9e5f1

Please sign in to comment.