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
Add a convenient way to get the address of the current contract. The data should be available in the CallContext which is part of PrivateContextInputs which is in the Context.
Consider whether it is useful to have separate portal utility for this (get portal address) or if if it sufficient with current address together with #1464.
The text was updated successfully, but these errors were encountered:
I'd recommend exposing this as a method of the Context struct. If the only low-level aztecy struct a dev ever needs to touch is the Context, that would be preferable.
Git blame says I added these yesterday. I do not remember doing this. Well... I remember thinking it... but then seeing this issue made me assume I hadn't actually done it.
Add a convenient way to get the address of the current contract. The data should be available in the
CallContext
which is part ofPrivateContextInputs
which is in theContext
.Consider whether it is useful to have separate portal utility for this (get portal address) or if if it sufficient with current address together with #1464.
The text was updated successfully, but these errors were encountered: