Have you ensured that all of these are up to date?
[X] Foundry
[X] Foundryup
What version of Foundry are you on?
forge 0.2.0 (b1f6a6c 2022-08-23T00:07:04.829899Z)
What command(s) is the bug in?
forge test
Operating System
macOS (Apple Silicon)
Describe the bug
After updating forge my tests started failing. I realized that it is because of issue I described in the headline. When I print the balance at the end of setUp it's 0. At the beginning of a test it's non-zero.
The bug was introduced in the latest release. Release nightly-7e9e6a5d6b30ad3f543857198234edcdbceb724a is working as expected.
I am working on an open source project so the bug can be reproduced by running forge test --match-contract Subsidy on master branch in this repo.
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (b1f6a6c 2022-08-23T00:07:04.829899Z)
What command(s) is the bug in?
forge test
Operating System
macOS (Apple Silicon)
Describe the bug
After updating forge my tests started failing. I realized that it is because of issue I described in the headline. When I print the balance at the end of
setUp
it's 0. At the beginning of a test it's non-zero.The bug was introduced in the latest release. Release nightly-7e9e6a5d6b30ad3f543857198234edcdbceb724a is working as expected.
I am working on an open source project so the bug can be reproduced by running
forge test --match-contract Subsidy
on master branch in this repo.