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
It's not trivial to get the function signature encoded exactly as needed for computing the selector, as we've seen several users struggling to get the correct signature to pass into compute_selector for calling call_public_function in their Noir contracts.
We should tweak the inspect-contract CLI command so it outputs the exact string the user needs to input into compute_selector (via an option? should it be the default? should it just show both versions?) as well as the computed selector (since we're at it).
It's not trivial to get the function signature encoded exactly as needed for computing the selector, as we've seen several users struggling to get the correct signature to pass into
compute_selector
for callingcall_public_function
in their Noir contracts.We should tweak the
inspect-contract
CLI command so it outputs the exact string the user needs to input intocompute_selector
(via an option? should it be the default? should it just show both versions?) as well as the computed selector (since we're at it).Requested by @0xShaito from Wonderland
The text was updated successfully, but these errors were encountered: