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(forge) - reset lib deployer balance to initial #8046

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

grandizzy
Copy link
Collaborator

Motivation

Reset balance of newly introduced LIBRARY_DEPLOYER to avoid issues when fuzzing (see https://github.com/pcaversaccio/snekmate/blob/6da5649cff3441c341f1db66959050600fb27fae/test/utils/BatchDistributor.t.sol#L366-L377)

TBD: follow up on how to exclude internal addresses from fuzz inputs (maybe forge-std ref #1228 (comment))

Solution

@grandizzy grandizzy marked this pull request as ready for review June 4, 2024 11:19
@grandizzy grandizzy requested a review from klkvr June 4, 2024 11:19
crates/forge/src/runner.rs Outdated Show resolved Hide resolved
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
@grandizzy grandizzy merged commit 2466e31 into foundry-rs:master Jun 4, 2024
15 of 16 checks passed
@grandizzy grandizzy deleted the reset-balance branch June 4, 2024 11:51
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