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
I noticed in AztecProtocol/aztec-packages#10556 that when wanting to mutate a nested value in a BoundedVec it's necessary to use a pattern like the below:
This'd require some large SSA changes since we don't support getting a mutable reference to an array element at all currently. Only ArrayGet which conceptually returns a copy
I noticed in AztecProtocol/aztec-packages#10556 that when wanting to mutate a nested value in a
BoundedVec
it's necessary to use a pattern like the below:Ideally we'd support mutating the returned element to allow something like the below by returning a mutable reference to the element.
The text was updated successfully, but these errors were encountered: