Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: returning errors from from_network and from_network_tx #316

Merged

Conversation

vbar
Copy link
Contributor

@vbar vbar commented Jul 30, 2024

What πŸ’»

Replaced calls to unwrap & expect in from_network and from_network_tx by explicit errors.

Why βœ‹

Improved reporting, not panicking on invalid inputs.

Evidence πŸ“·

Tests pass.

@vbar vbar requested a review from a team as a code owner July 30, 2024 09:00
src/fork.rs Outdated Show resolved Hide resolved
@AnastasiiaVashchuk AnastasiiaVashchuk merged commit fc4bea3 into matter-labs:main Aug 12, 2024
10 checks passed
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.

2 participants