diff --git a/src/ethereum_spec_tools/forks.py b/src/ethereum_spec_tools/forks.py index 9be8f2317c..c8dc7b8878 100644 --- a/src/ethereum_spec_tools/forks.py +++ b/src/ethereum_spec_tools/forks.py @@ -206,7 +206,7 @@ def block(self) -> Uint: @property def timestamp(self) -> U256: """ - Block number of the first block in this hard fork. + Timestamp of the first block in this hard fork. """ from ethereum.fork_criteria import ByTimestamp diff --git a/src/ethereum_spec_tools/new_fork/builder.py b/src/ethereum_spec_tools/new_fork/builder.py index c1607fce90..e02e6d48e2 100644 --- a/src/ethereum_spec_tools/new_fork/builder.py +++ b/src/ethereum_spec_tools/new_fork/builder.py @@ -329,7 +329,7 @@ def __init__( forks = Hardfork.discover() - # Find the `Hardfork` object named by 'template_fork`. + # Find the `Hardfork` object named by `template_fork`. before = None found = None for index, fork in enumerate(forks): diff --git a/src/ethereum_spec_tools/whitelist/__init__.py b/src/ethereum_spec_tools/whitelist/__init__.py index 1c76fe5c00..3b2bfd58fc 100644 --- a/src/ethereum_spec_tools/whitelist/__init__.py +++ b/src/ethereum_spec_tools/whitelist/__init__.py @@ -36,7 +36,7 @@ def find_project_root() -> Path: def main() -> int: """ `whitelist` accepts any number of strings, adds them to the whitelist, then - sorts the list and maintain visible sections for each leading character. + sorts the list and maintains visible sections for each leading character. Returns: - 0 on success