-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Arbitrum Fork and running scripts containing vm.start/stopBroadcast in test results in failing deployment #3874
Comments
As a quick fix you can add But the underlying issue seems slightly trickier. The default foundry sender is creating the Eventually, |
@joshieDo thanks for looking in to it. As another workaround within my test I have a Another possible linked issue, is when deploying multiple contracts in script for Arbitrum, it seems to cause problem with gas estimation. So I need to deploy the contracts one by one. Maybe that's completely unrelated thought, just wanted to point it out. |
after this PR merge, I just ran foundryup, I assumed it will install the latest from master, right? version is
but, I'm still having the issue presented at https://github.com/0xCalibur/foundry_arbitrum_fork_issue |
@0xCalibur No, it installs the one built by the nightly pipeline. I'm not sure if when you tried, it had already been built with the fix... so can you try again? (I did, and it worked fine). |
I confirm this is now working, I must have ran |
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (e9f274d 2022-12-11T00:03:42.968584731Z)
What command(s) is the bug in?
forge test -vvvv
Operating System
Linux
Describe the bug
There seems to be an issue with the vm.start/stopBroadcast instructions used within tests. Removing the fork and select instruction and/or the vm.start/stopBroadcast doesn't produce the issue.
Step to reproduce:
Expectation:
What is actually happening:
The text was updated successfully, but these errors were encountered: