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
Despite the existence of our macro syntax. The user still needs to call let storage = Storage::init(). at the beginning of each function call.
Defining storage should be standardised such that when it is defined at the top of the file the developer does not need to worry about it too much.
This issue can be converted into a discussion on how this should be achieved
After a discussion with lasse, decided to get this over the line,
removes the storage init and places it inside the macro expansion
todo:
- update docs
- release noir
related work:
- noir-lang/noir#2750fixes: #2163fixes: #1890
Despite the existence of our macro syntax. The user still needs to call
let storage = Storage::init()
. at the beginning of each function call.Defining storage should be standardised such that when it is defined at the top of the file the developer does not need to worry about it too much.
This issue can be converted into a discussion on how this should be achieved
Tracked by #1891
The text was updated successfully, but these errors were encountered: