Extra variable and bitwise operation #13444
Labels
MT cannon - audit findings
grouping for audit findings
MT cannon - Mainnet relevant
issues needed to complete the work for our Mainnet release
Description
This line does nothing.
byteIndexMask
is already &'ed with_vaddr
.Recommendation
Remove the line, and rename
byteIndexMask
tobyteIndex
.packages/contracts-bedrock/src/cannon/libraries/MIPS64Instructions.sol
uint64 byteIndex = _vaddr & byteIndexMask;
The text was updated successfully, but these errors were encountered: