From a99aee22002f78ee1ac656fc0ce861739b57ea65 Mon Sep 17 00:00:00 2001 From: oliveredget <188809800+oliveredget@users.noreply.github.com> Date: Wed, 1 Jan 2025 15:45:17 +0800 Subject: [PATCH] fix: typos in comments Signed-off-by: oliveredget <188809800+oliveredget@users.noreply.github.com> --- certora/specs/NativeTokenRefund.spec | 2 +- tests_deprecated/utils/execution.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/certora/specs/NativeTokenRefund.spec b/certora/specs/NativeTokenRefund.spec index 04a59890d..9eef6cf4a 100644 --- a/certora/specs/NativeTokenRefund.spec +++ b/certora/specs/NativeTokenRefund.spec @@ -41,7 +41,7 @@ rule nativeTokenRefundIsSentToRefundReceiver( // and adding pre-requirements is tricky // also, it shouldn't be the safe itself require refundReceiver != 0 && refundReceiver != currentContract; - // // We're being optimistic about the delegatecall and in the munged contracts the actuall call was removed + // // We're being optimistic about the delegatecall and in the munged contracts the actual call was removed // // So it's possible the gas used to be 0 in the munged contracts, so no refund would be sent (a counterexample) // require operation == Enum.Operation.Call; diff --git a/tests_deprecated/utils/execution.js b/tests_deprecated/utils/execution.js index f457c1f71..487f0e66b 100644 --- a/tests_deprecated/utils/execution.js +++ b/tests_deprecated/utils/execution.js @@ -32,7 +32,7 @@ let estimateBaseGas = function(safe, to, value, data, operation, txGasEstimate, let baseGasEstimate = calcDataGasCosts(payload) + signatureCost + (nonce > 0 ? 5000 : 20000) baseGasEstimate += 1500 // 1500 -> hash generation costs baseGasEstimate += 1000 // 1000 -> Event emission - return baseGasEstimate + 32000; // Add aditional gas costs (e.g. base tx costs, transfer costs) + return baseGasEstimate + 32000; // Add additional gas costs (e.g. base tx costs, transfer costs) } let executeTransactionWithSigner = async function(signer, safe, subject, accounts, to, value, data, operation, executor, opts) {