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

docs: add warning on panic conditions in take_bundle #715

Merged

Conversation

Rjected
Copy link
Collaborator

@Rjected Rjected commented Sep 12, 2023

These docs were added after encountering a panic in reth: paradigmxyz/reth#4561

@rakita
Copy link
Member

rakita commented Sep 12, 2023

This can be a footgun to unwrap it like that. Option or unwrap_or_default are good alternatives

@rakita rakita merged commit e2ecd5e into bluealloy:main Sep 12, 2023
8 checks passed
mikelodder7 pushed a commit to LIT-Protocol/revm that referenced this pull request Sep 12, 2023
* docs: add warning on panic conditions in take_bundle

* reorder TODO
Evalir pushed a commit to Evalir/revm that referenced this pull request Sep 14, 2023
* docs: add warning on panic conditions in take_bundle

* reorder TODO
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.

None yet

2 participants