Skip to content

fix: correct alignment comment in MIPS64Syscalls.sol #16081

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

crStiv
Copy link

@crStiv crStiv commented May 22, 2025

Description

Changed incorrect comments in MIPS64Syscalls.sol that referred to "4 bytes" alignment to correctly reflect "word size" alignment (8 bytes for MIPS64). This fixes issue #13435 identified in the spearbit audit.

Tests

No tests added as the change only affects comments, not functionality.

Additional context

The alignment operation was already correctly using word size (8 bytes), but the comments incorrectly stated "4 bytes".

Metadata

@crStiv crStiv requested a review from a team as a code owner May 22, 2025 16:14
@crStiv crStiv requested a review from clabby May 22, 2025 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comment says 4 bytes, but it is actually the word size
1 participant