Skip to content

Conversation

sashass1315
Copy link

Add explicit errors when no deployed contracts exist for a supported network.
Add explicit error when the 'Semaphore' contract is not found for that network.
These changes prevent opaque runtime crashes caused by non-null assertions and unsafe casts, and align error handling with patterns used in packages/contracts/scripts/utils.ts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant