Skip to content

Commit

Permalink
test: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: JohnEndson <[email protected]>
  • Loading branch information
JohnEndson committed Mar 28, 2024
1 parent 4c3378a commit 944e1fb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/test/Audius.exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import "./interface.sol";
// UniswapV2 Router 2 : https://etherscan.io/address/0x7a250d5630b4cf539739df2c5dacb4c659f2488d#code

// @NewsTrack
// Offical Announcement : https://twitter.com/AudiusProject/status/1551000725169180672
// Offical Post-Mortem : https://blog.audius.co/article/audius-governance-takeover-post-mortem-7-23-22
// Official Announcement : https://twitter.com/AudiusProject/status/1551000725169180672
// Official Post-Mortem : https://blog.audius.co/article/audius-governance-takeover-post-mortem-7-23-22
// SunSec : https://twitter.com/1nf0s3cpt/status/1551050841146400768
// Abmedia News : https://abmedia.io/20220724-audius-hacked-by-mal-governance-proposal
// Beosin Alert : https://twitter.com/BeosinAlert/status/1551041795735408641
Expand Down
2 changes: 1 addition & 1 deletion src/test/FortressLoans.exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import "./interface.sol";
Price Feed : https://bscscan.com/address/0xaa24b64c9b44d874368b09325c6d60165c4b39f2#code*/

/* @News
Offical Announce : https://mobile.twitter.com/Fortressloans/status/1523495202115051520
Official Announce : https://mobile.twitter.com/Fortressloans/status/1523495202115051520
PeckShield Alert Thread : https://twitter.com/PeckShieldAlert/status/1523489670323404800
Blocksec Alert Thread : https://twitter.com/BlockSecTeam/status/1523530484877209600*/

Expand Down
6 changes: 3 additions & 3 deletions src/test/PolyNetwork/utils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ library Utils {
result = sha256(abi.encodePacked(bytes1(0x01), _l, _r));
}

/* @notice Compare if two bytes are equal, which are in storage and memory, seperately
/* @notice Compare if two bytes are equal, which are in storage and memory, separately
Refer from https://github.com/summa-tx/bitcoin-spv/blob/master/solidity/contracts/BytesLib.sol#L368
* @param _preBytes The bytes stored in storage
* @param _postBytes The bytes stored in memory
Expand Down Expand Up @@ -235,7 +235,7 @@ library Utils {
/* @notice Check if the elements number of _signers within _keepers array is no less than _m
* @param _keepers The array consists of serveral address
* @param _signers Some specific addresses to be looked into
* @param _m The number requirement paramter
* @param _m The number requirement parameter
* @return True means containment, false meansdo do not contain.
*/

Expand Down Expand Up @@ -473,7 +473,7 @@ library ZeroCopySource {
/* @notice Read next byte as boolean type starting at offset from buff
* @param buff Source bytes array
* @param offset The position from where we read the boolean value
* @return The the read boolean value and new offset
* @return The read boolean value and new offset
*/
function NextBool(bytes memory buff, uint256 offset) internal returns (bool, uint256) {
require(offset + 1 <= buff.length && offset < offset + 1, "Offset exceeds limit");
Expand Down
2 changes: 1 addition & 1 deletion src/test/ReaperFarm.exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import "./interface.sol";
// Owner 5 : 0x9e6affa8a14174ca4e931a2d6b7056c41b9beeb6

// @Analysis
// Offical post-mortem : https://twitter.com/Reaper_Farm/status/1554500909740302337
// Official post-mortem : https://twitter.com/Reaper_Farm/status/1554500909740302337
// Beosin : https://twitter.com/BeosinAlert/status/1554476940593340421

contract Attacker is Test {
Expand Down
2 changes: 1 addition & 1 deletion src/test/XCarnival.exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import "./interface.sol";
// BAYC Contract: 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d

// @News
// Offical Announce : https://twitter.com/XCarnival_Lab/status/1541226298399653888
// Official Announce : https://twitter.com/XCarnival_Lab/status/1541226298399653888
// PeckShield Alert Thread : https://twitter.com/peckshield/status/1541047171453034501
// Blocksec Alert Thread : https://twitter.com/BlockSecTeam/status/1541070850505723905

Expand Down

0 comments on commit 944e1fb

Please sign in to comment.