[Noir Contracts] Provide a way for a user to validate the hard-coded function selectors of a contract interface #1551
Labels
C-aztec.nr
Component: Aztec smart contract framework
danger
S-needs-discussion
Status: Still needs more discussion before work can start.
If we continue with our current approach for generating contract interfaces, a developer shouldn't blindly trust these opaque hex function selectors. We probably need a way for a user (dev) who uses one of these contract interfaces to validate the correctness of the hex function selector.
Maybe we could include the selector in the generated ABIs? Or add a CLI command that outputs the list of functions and their selectors given a contract?
Issue began here: #1487 (comment)
The text was updated successfully, but these errors were encountered: