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

chore: simplify get transaction nonce #7392

Merged

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Mar 13, 2024

use max

@mattsse mattsse requested a review from DaniPopes as a code owner March 13, 2024 13:02
Some(BlockRequest::Number(bn)) => Some(BlockRequest::Number(bn)),
None => None,
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is always Some now?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ye, would just do the Some in the call to with_database_at as a nit

Copy link
Member Author

@mattsse mattsse Mar 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, we don't need the option here at all, removed

Copy link
Collaborator

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with nit

@mattsse mattsse merged commit bd03d2b into foundry-rs:master Mar 13, 2024
19 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.

3 participants