From 27ffbd006535c3930bfe10e8f426d772de6e22a7 Mon Sep 17 00:00:00 2001 From: frameflare Date: Fri, 5 Apr 2024 12:36:15 +0800 Subject: [PATCH] chore: fix some typos Signed-off-by: frameflare --- past/2021/README.md | 4 ++-- past/2023/README.md | 2 +- src/test/TIME_exp.sol | 2 +- src/test/TrustPad_exp.sol | 4 ++-- src/test/VTF_exp.sol | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/past/2021/README.md b/past/2021/README.md index 0e9a42a3..22075234 100644 --- a/past/2021/README.md +++ b/past/2021/README.md @@ -282,7 +282,7 @@ https://twitter.com/BlockSecTeam/status/1438100688215560192 --- -### 20210912 ZABU Finance - Deflationary token uncompatible +### 20210912 ZABU Finance - Deflationary token incompatible Testing @@ -488,7 +488,7 @@ https://chain-swap.medium.com/chainswap-post-mortem-and-compensation-plan-90cad5 --- -### 20210628 SafeDollar - Deflationary token uncompatible +### 20210628 SafeDollar - Deflationary token incompatible ### Lost: $.2 million diff --git a/past/2023/README.md b/past/2023/README.md index 6ff5bb55..705de76c 100644 --- a/past/2023/README.md +++ b/past/2023/README.md @@ -1677,7 +1677,7 @@ https://twitter.com/Phalcon_xyz/status/1680961588323557376 --- -### 20230712 Platypus - Bussiness Logic Flaw +### 20230712 Platypus - Business Logic Flaw ### Lost: ~$51K diff --git a/src/test/TIME_exp.sol b/src/test/TIME_exp.sol index d83bb40c..058f2fd8 100644 --- a/src/test/TIME_exp.sol +++ b/src/test/TIME_exp.sol @@ -109,7 +109,7 @@ contract ContractTest is Test { TIMEToWETH(); WETH.withdraw(WETH.balanceOf(address(this))); - // In the end of attack tx also ~5 ether was transfered to Flashbot + // In the end of attack tx also ~5 ether was transferred to Flashbot emit log_named_decimal_uint( "Exploiter ETH balance after attack", address(this).balance, diff --git a/src/test/TrustPad_exp.sol b/src/test/TrustPad_exp.sol index af03b02c..3510088b 100644 --- a/src/test/TrustPad_exp.sol +++ b/src/test/TrustPad_exp.sol @@ -80,7 +80,7 @@ contract ContractTest is Test { (bool success,) = address(helperContract).delegatecall( abi.encodeWithSignature("deposit(address,uint256,uint256)", address(LaunchpadLockableStaking), 30, 1) ); - require(success, "Delegatecall to deposit not successfull"); + require(success, "Delegatecall to deposit not successfully"); assertEq(TPAD.balanceOf(address(this)), startBalanceTPAD - 1); @@ -91,7 +91,7 @@ contract ContractTest is Test { (success,) = address(helperContract).delegatecall( abi.encodeWithSignature("withdraw(address,uint256)", address(LaunchpadLockableStaking), 0) ); - require(success, "Delegatecall to withdraw not successfull"); + require(success, "Delegatecall to withdraw not successfully"); emit log_named_decimal_uint( "Exploiter's helper contract TPAD balance after attack", diff --git a/src/test/VTF_exp.sol b/src/test/VTF_exp.sol index eb853df4..7b03adb6 100644 --- a/src/test/VTF_exp.sol +++ b/src/test/VTF_exp.sol @@ -48,7 +48,7 @@ contract ContractTest is Test { CheatCodes constant cheat = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D); - // ankr rpc bsc maybe unavailible, please use QuickNode + // ankr rpc bsc maybe unavailable, please use QuickNode function setUp() public { cheat.createSelectFork("bsc", 22_535_101); }