-
Notifications
You must be signed in to change notification settings - Fork 131
nullptr context in standard library #660
Copy link
Copy link
Closed as not planned
AztecProtocol/aztec-packages
#15205Closed as not planned
Copy link
Description
Null pointers are uses as the default context (pointer to a builder). This was a frequent source of issues when building the circuit simulator because we'd to access, for example, the failed state of the composer and get a segfault. Is there any subtle logic around the use of the nullptr context when we're constructing circuit constants? I think it would be best to always initialize the context and git rid of any special nullptr logic that exists in favor of something more explicit, and something that does not conflict with the strategy I took for the simlator.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels