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

Specify how and when state_root updates occur in contract outputs #320

Open
Voxelot opened this issue May 23, 2022 · 0 comments
Open

Specify how and when state_root updates occur in contract outputs #320

Voxelot opened this issue May 23, 2022 · 0 comments
Labels
comp:FVM Component: FuelVM good first issue Good for newcomers

Comments

@Voxelot
Copy link
Member

Voxelot commented May 23, 2022

Similar to balance_root, state_root needs to be set on the appropriate contract output whenever an opcode that alters the state root happens. This could be something like:

Add "This modifies the stateRoot field of the appropriate output(s)." to the following opcodes:

  • SWW
  • SWWQ
@adlerjohn adlerjohn added the comp:FVM Component: FuelVM label May 24, 2022
@MitchTurner MitchTurner added the good first issue Good for newcomers label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:FVM Component: FuelVM good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants