-
Notifications
You must be signed in to change notification settings - Fork 713
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
Zero all malleable fields before execution #545
Conversation
Maybe it makes sense to remove the getter for malleable fields since they are zero all the time. We don't need to change the discriminant for values, we can leave gaps |
Before merging this PR, I would suggest doing FuelLabs/fuel-core#1620 first. It will help identify all problematic fields. Maybe we missed something here |
CI not passing due to #547 |
For future reference, removing the intermediate receipt roots is possible now that we are going with a zk-hybrid proving approach. |
Closes #542.
Also changes
tx.receiptsRoot
to only be updated after the tx has terminated, as the intermediate values are no longer useful. The speeds up and simplifies implementation of receipt-pushing opcodes.