-
Notifications
You must be signed in to change notification settings - Fork 88
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
Tracking: Malleable inputs for Checked<Transaction>
type
#651
Comments
Actually not, we decided to keep them malleable FuelLabs/fuel-specs#542. But we still need to update the implementation of FuelVM to zero fields |
@xgreenx Do I understand correctly that the issue description is now outdated, and we just have to zero the malleable fields before execution? |
Yep=) We need to update the specification to reflect this change and update our codebase to zero all malleable fields(except witnesses) |
So like this? FuelLabs/fuel-specs#545 It feels weird to even have things like |
Yeah, looks correct. Maybe it also worth removing the corresponding GTF All instances of |
@xgreenx Currently,
This seems to conflict itself. What's the actual behavior we want here? Do we even need access to this value during execution? |
By this phrase, we usually mean at the start of the execution of the transaction something should be zero=) So, modifying it shouldn't affect the validity of the block(I mean the validator should receive the same result as a producer). But, I don't think there is any use case for accessing the receipts root during the execution. Maybe somehow for the old fraud-proof model, but since we still need access to all old receipts to calculate the next receipt root, I don't think so. cc @Voxelot @dmihal Maybe it makes sense from a performance perspective only to do one root calculation at the end of the script execution. But it means we need to update the specification since it says that we need to update it each time:
|
Checked<Transaction>
type Checked<Transaction>
type
Maybe move
fuel_core_executor::Executor::compute_inputs
toChecked
or add a way of updating it.The text was updated successfully, but these errors were encountered: