From a7e670159c4ed857f2a8b2383d564c73fb0d2af0 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Sat, 4 Nov 2023 19:59:50 +0100 Subject: [PATCH] fix: typos [APE-1513] (#1725) * fix typos * fix typo * fix typo * fix lint * fix lint --- CONTRIBUTING.md | 2 +- SECURITY.md | 2 +- src/ape/contracts/base.py | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a9c536dfdb..53246cac67 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Development -To get started with working on the codebase, use the following steps prepare your local environment: +To get started with working on the codebase, use the following steps to prepare your local environment: ```bash # clone the GitHub repo and navigate into the folder diff --git a/SECURITY.md b/SECURITY.md index f07b18995d..04117535c8 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,6 +1,6 @@ # Security Policy -This document describes the Security Policy for ApeWorX Ltd., including vulnerability disclosures for the Ape Framework, any of it's maintained plugins, or any packages we maintain used by those as dependencies. +This document describes the Security Policy for ApeWorX Ltd., including vulnerability disclosures for the Ape Framework, any of its maintained plugins, or any packages we maintain used by those as dependencies. We are committed to conduct our Security Process in a professional and civil manner. Public shaming, under-reporting, or misrepresentation of vulnerabilities will not be tolerated. diff --git a/src/ape/contracts/base.py b/src/ape/contracts/base.py index a463018ea4..8d27f7d26a 100644 --- a/src/ape/contracts/base.py +++ b/src/ape/contracts/base.py @@ -336,7 +336,7 @@ def call(self) -> ContractCallHandler: Get the :class:`~ape.contracts.base.ContractCallHandler` equivalent of this transaction handler. The call-handler uses the ``eth_call`` RPC under-the-hood and thus it gets reverted before submitted. - This a useful way to simulate a transaction without invoking it. + This is a useful way to simulate a transaction without invoking it. """ return ContractCallHandler(self.contract, self.abis) @@ -587,8 +587,8 @@ def range( Search through the logs for this event using the given filter parameters. Args: - start_or_stop (int): When also given ``stop``, this is the the - earliest block number in the desired log set. + start_or_stop (int): When also given ``stop``, this is the earliest + block number in the desired log set. Otherwise, it is the total amount of blocks to get starting from ``0``. stop (Optional[int]): The latest block number in the desired log set. Defaults to delegating to provider. @@ -665,7 +665,7 @@ def poll_logs( """ Poll new blocks. Optionally set a start block to include historical blocks. - **NOTE**: This is a daemon method; it does not terminate unless an exception occurrs. + **NOTE**: This is a daemon method; it does not terminate unless an exception occurs. Usage example::