From 4571246909d66070d1f7b0ae76e0e0e6f2f01072 Mon Sep 17 00:00:00 2001 From: dsfsfssdfsd Date: Mon, 1 Jun 2026 09:26:13 +0800 Subject: [PATCH] fix: correct typos in code comments (sucessfully -> successfully, sucess -> successfully) --- crates/malachite-app/src/state.rs | 2 +- tests/localdev/NativeFiatToken.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/malachite-app/src/state.rs b/crates/malachite-app/src/state.rs index 8252486..0741467 100644 --- a/crates/malachite-app/src/state.rs +++ b/crates/malachite-app/src/state.rs @@ -79,7 +79,7 @@ impl NextHeightInfo { /// such as whether to start the next height or restart the current height. #[derive(Debug)] pub enum Decision { - /// Decision was sucessfully committed, and we have the information needed to start the next height. + /// Decision was successfully committed, and we have the information needed to start the next height. Success(Box), /// Processing the decided value failed for the given height and round. diff --git a/tests/localdev/NativeFiatToken.test.ts b/tests/localdev/NativeFiatToken.test.ts index ae29238..fbf5f91 100644 --- a/tests/localdev/NativeFiatToken.test.ts +++ b/tests/localdev/NativeFiatToken.test.ts @@ -1740,7 +1740,7 @@ describe('NativeFiatToken', () => { it('delegateCall USDC.transfer', async () => { const { receipt, balances, helper } = await testCallType({ functionName: 'delegateCall', fn: 'transfer' }) // since the impl address is not set, the delegate call will call to zero address - // which will sucess execute with empty return + // which will successfully execute with empty return receipt.verifyEvents((ev) => { ev.expectCount(1).expectExecutionResult({ helper, success: true, result: '0x' }) }) @@ -1768,7 +1768,7 @@ describe('NativeFiatToken', () => { it('delegateCall USDC.mint', async () => { const { receipt, balances, helper } = await testCallType({ functionName: 'delegateCall', fn: 'mint' }) // since the impl address is not set, the delegate call will call to zero address - // which will sucess execute with empty return + // which will successfully execute with empty return receipt.verifyEvents((ev) => { ev.expectCount(1).expectExecutionResult({ helper, success: true, result: '0x' }) })