diff --git a/chia/_tests/core/full_node/test_full_node.py b/chia/_tests/core/full_node/test_full_node.py index 88aa137698e8..a188c100e54f 100644 --- a/chia/_tests/core/full_node/test_full_node.py +++ b/chia/_tests/core/full_node/test_full_node.py @@ -2626,7 +2626,7 @@ async def test_long_reorg( # now reorg back to the original chain # this exercises the case where we have some of the blocks in the DB already node.full_node.blockchain.clean_block_records() - # when using add_block manualy we must warmup the cache + # when using add_block manually we must warmup the cache await node.full_node.blockchain.warmup(uint32(fork_point - 100)) if light_blocks: blocks = default_10000_blocks[fork_point - 100 : 3200] @@ -2854,7 +2854,7 @@ def check_nodes_in_sync() -> bool: # now continue building the chain on top of B # since spend_bundle was supposed to have been reorged-out, we should be - # able to include it in another block, howerver, since we replaced a TX + # able to include it in another block, however, since we replaced a TX # block with a non-TX block, it won't be available immediately at height 11 # add a TX block, this will make spend_bundle valid in the next block diff --git a/chia/_tests/core/mempool/test_mempool.py b/chia/_tests/core/mempool/test_mempool.py index 92ab029b5f81..0bfae728c406 100644 --- a/chia/_tests/core/mempool/test_mempool.py +++ b/chia/_tests/core/mempool/test_mempool.py @@ -2278,7 +2278,7 @@ def test_duplicate_height_time_conditions(self, opcode: ConditionOpcode, softfor def test_just_announcement(self, opcode: ConditionOpcode, softfork_height: uint32) -> None: message = "a" * 1024 # announcements are validated on the Rust side and never returned - # back. They are either satisified or cause an immediate failure + # back. They are either satisfied or cause an immediate failure npc_result = generator_condition_tester(f'({opcode.value[0]} "{message}") ' * 50, height=softfork_height) assert npc_result.error is None assert npc_result.conds is not None @@ -2296,7 +2296,7 @@ def test_just_announcement(self, opcode: ConditionOpcode, softfork_height: uint3 def test_assert_announcement_fail(self, opcode: ConditionOpcode, softfork_height: uint32) -> None: message = "a" * 1024 # announcements are validated on the Rust side and never returned - # back. They ar either satisified or cause an immediate failure + # back. They ar either satisfied or cause an immediate failure # in this test we just assert announcements, we never make them, so # these should fail npc_result = generator_condition_tester(f'({opcode.value[0]} "{message}") ', height=softfork_height) diff --git a/chia/_tests/core/util/test_config.py b/chia/_tests/core/util/test_config.py index a532703ea946..2da63b263d1d 100644 --- a/chia/_tests/core/util/test_config.py +++ b/chia/_tests/core/util/test_config.py @@ -263,7 +263,7 @@ def test_multiple_writers(self, root_path_populated_with_config, default_config_ Test whether multiple readers/writers encounter data corruption. When using non-atomic operations to write to the config, partial/incomplete writes can cause readers to yield bad/corrupt data. """ - # Artifically inflate the size of the default config. This is done to (hopefully) force + # Artificially inflate the size of the default config. This is done to (hopefully) force # save_config() to require multiple writes. When save_config() was using shutil.move() # multiple writes were observed, leading to read failures when data was partially written. default_config_dict["xyz"] = "x" * 32768 diff --git a/chia/wallet/conditions.py b/chia/wallet/conditions.py index 5b12b1c4ad21..9c6cd627bd92 100644 --- a/chia/wallet/conditions.py +++ b/chia/wallet/conditions.py @@ -427,7 +427,7 @@ def __post_init__(self) -> None: and self.coin_id_committed is None and self.mode_integer is None ): - raise ValueError("Must specify at least one committment. Anyone-can-send/recieve is not allowed.") + raise ValueError("Must specify at least one commitment. Anyone-can-send/recieve is not allowed.") if self.coin_id_committed is not None: if self.parent_id_committed is None or self.puzzle_hash_committed is None or self.amount_committed is None: if not ( @@ -482,7 +482,7 @@ def convert_noneness_to_bit(maybe_none: Optional[Any]) -> int: @property def necessary_args(self) -> list[Program]: if self._nothing_committed: - raise ValueError("Cannot generate necessary_args for a participant without committment information") + raise ValueError("Cannot generate necessary_args for a participant without commitment information") if self.coin_id_committed: return [Program.to(self.coin_id_committed)]