Skip to content
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

Clarify that non-zero reserved part of an instruction causes vm panic #583

Merged
merged 2 commits into from
May 27, 2024

Conversation

Dentosal
Copy link
Member

@Dentosal Dentosal commented May 22, 2024

VM PR: FuelLabs/fuel-vm#737

What is says on the tin. This is a small but breaking change. It's unlikely to cause any breakage, as no Sway code or code constructed using the fuel-asm helper functions is affected.

This change is originating from an audit report that pointed out the likely unintentional behavior of the unused part of instruction is ignored.

Before requesting review

  • I have reviewed the code myself

@Dentosal Dentosal added the comp:FVM Component: FuelVM label May 22, 2024
@Dentosal Dentosal self-assigned this May 22, 2024
@Dentosal Dentosal changed the title Clarify that non-zero reserved part causes vm panic Clarify that non-zero reserved part of an instruction causes vm panic May 22, 2024
@Dentosal Dentosal requested a review from a team May 22, 2024 20:10
@xgreenx xgreenx merged commit 7ed5c58 into master May 27, 2024
6 checks passed
@xgreenx xgreenx deleted the dento/opcode-reserved-part branch May 27, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:FVM Component: FuelVM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants