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
Currently, any methods which contains send will require all fields and variables to be mutating. This is down to the Boogie output generating havocs for all variables in case send affects them, as right now the idea seems to be that as send is external, something bad could happen and thus nothing is certain.
Also, since they mess with everything, nothing can be proven after a send function as values could have been affected in a way which invalidates any pre- or mid-conditions
// Fix with mutates (every, single, thing) despite the function affecting no fields
func myFunc(implicit amount:Wei, account:Address){send(account,&wei)}
The text was updated successfully, but these errors were encountered:
Currently, any methods which contains
send
will require all fields and variables to be mutating. This is down to the Boogie output generatinghavoc
s for all variables in casesend
affects them, as right now the idea seems to be that as send is external, something bad could happen and thus nothing is certain.Also, since they mess with everything, nothing can be proven after a send function as values could have been affected in a way which invalidates any pre- or mid-conditions
The text was updated successfully, but these errors were encountered: