You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Sway language does not currently support any mathematical operations on a b256. Fuel core v0.19 support will add the WQOP op code for add, sub, shifts, etc but until then an increment by u64 function may be implemented.
Description
The Sway language does not currently support any mathematical operations on a
b256
. Fuel core v0.19 support will add theWQOP
op code for add, sub, shifts, etc but until then an increment byu64
function may be implemented.https://github.com/FuelLabs/fuel-specs/blob/master/src/fuel-vm/instruction-set.md#wqop-misc-256-bit-integer-operations
Motivation
This functionality is required to optimize storage read/write operations.
The text was updated successfully, but these errors were encountered: