Skip to content

Conversation

@Sharilleed223
Copy link
Contributor

Simplify Option unwrapping patterns in gas snapshot handling:

  • Replace is_some() + unwrap() with if let Some pattern.
  • Remove redundant intermediate variable binding.

Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

should work, please fix CI fmt

@Sharilleed223 Sharilleed223 force-pushed the refactor/gas-snapshot-simplify-clean branch 2 times, most recently from a406abd to 9d24699 Compare November 19, 2025 08:58
@grandizzy grandizzy self-requested a review November 19, 2025 09:08
@Sharilleed223
Copy link
Contributor Author

Hi @grandizzy, did it, pls check, thanks!

Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

thanks, one more nit

@Sharilleed223 Sharilleed223 force-pushed the refactor/gas-snapshot-simplify-clean branch from 9d24699 to 7ca62c2 Compare November 19, 2025 09:28
@grandizzy grandizzy self-requested a review November 19, 2025 09:30
@grandizzy grandizzy enabled auto-merge November 19, 2025 09:30
Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

thank you

@grandizzy grandizzy added this pull request to the merge queue Nov 19, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 19, 2025
@grandizzy grandizzy added this pull request to the merge queue Nov 19, 2025
Merged via the queue into foundry-rs:master with commit 72046f8 Nov 19, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Nov 19, 2025
grandizzy added a commit that referenced this pull request Dec 19, 2025
* fix: bump svm-rs (#12728)

fix: bump svm-rs and builds

* chore: update to macos14 runner (#12774)

chore: macos14 runner

* chore: fix clippy & forge-std external test (#12698)

* chore: fix clippy

* bump forge-std

* bump solady to pick up fuzz test fix

* refactor: simplify gas snapshot handling in cheatcodes (#12605)

* chore(tests): bump forge-std version (#12661)

* chore: bump forge-std version used for tests

* bump ci

* bump invariant.shrink_run_limit to 425 to give shrinker more opportunity to find minimum sequence

---------

Co-authored-by: zerosnacks <[email protected]>
Co-authored-by: zerosnacks <[email protected]>

* fix(`ci`): ignore `number_prefix` is unmaintained in `cargo deny` (#12598)

number_prefix is unmaintained

* chore: disable failing test (#12620)

* chore: bump version 1.5.1 (#12873)

---------

Co-authored-by: Sharille Reed <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: zerosnacks <[email protected]>
Co-authored-by: zerosnacks <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants