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

Test failures when running on regular EVM #465

Closed
1 of 2 tasks
hensha256 opened this issue Jul 9, 2024 · 2 comments
Closed
1 of 2 tasks

Test failures when running on regular EVM #465

hensha256 opened this issue Jul 9, 2024 · 2 comments

Comments

@hensha256
Copy link

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.0.2 (f505a53 2024-06-26T14:26:06.767041000Z)

What command(s) is the bug in?

forge test

Operating System

macOS (Apple Silicon)

Describe the bug

I'm running forge test to run tests, not on zksync, and many of my tests are failing and then hanging with an error:
image

If I instead run

/Users/x/.foundry/bin/forge test

The tests all pass.

@hensha256 hensha256 added the T-bug label Jul 9, 2024
@Karrq
Copy link
Contributor

Karrq commented Jul 9, 2024

Possibly related to #443 but the reverse?

@Karrq
Copy link
Contributor

Karrq commented Jul 11, 2024

I looked into this a bit, it seems you are making use of lastCallGas cheatcode introduced 3 months ago, and added to forge-std in 1.8.2.

Unfortunately, there's no workaround for this at the moment, you'll have to wait until we merge #445, which will also resolve #443, but we plan to do this soon, hopefully within the week :)

@Karrq Karrq closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2024
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

No branches or pull requests

2 participants