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

Optional SAFE_NONCE variable fix #56

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

anikaraghu
Copy link
Contributor

The way we were using envOr to take in SAFE_NONCE as an optional argument was not compiling. After fixing, it was causing other issues across the codebase because we were using a envOr which was not marked as a view function in view functions. I checked with the foundry team and looks like this was an oversight so I upstreamed a change to make envOr a view function:

This now compiles & works (if you run into issues, try running make deps which should pull the latest forge-std version).

mdehoog
mdehoog previously approved these changes Jan 12, 2024
@cb-heimdall cb-heimdall dismissed mdehoog’s stale review January 12, 2024 15:26

Approved review 1817423593 from mdehoog is now dismissed due to new commit. Re-request for approval.

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