Comment says 4 bytes, but it is actually the word size #13435
Labels
MT cannon - audit findings
grouping for audit findings
MT cannon - Mainnet relevant
issues needed to complete the work for our Mainnet release
As per spearbit audit finding, we have the following finding:
Description
Comment says 4 bytes, but it is actually the word size. Also, the comment is bellow the aligning operation.
Recommendation
Move the comment above the aligning, and use "word size" instead of "4 bytes".
packages/contracts-bedrock/src/cannon/libraries/MIPS64Syscalls.sol
// mask the addr to align it to 4 bytes
The text was updated successfully, but these errors were encountered: