Comments (1)
I have not investigated the behavior to see if this is expected or a bug somewhere, but:
I need to execute a specific test case only when a certain call was made in the subject under test.
wanted to note you might be able to more easily do this using the vm.startStateDiffRecording
and vm.stopAndReturnStateDiff
cheats, which will return all calls as part of the recorded account accesses
from foundry.
Related Issues (20)
- Noticeable change in gas estimation when using `forge test --gas-report`
- Add support for js tracer in anvil HOT 3
- Functions returning extra returndata unexpectedly revert
- Forge Initialization and Compilation Errors on Windows: Submodule Cloning and Import Resolution Issues HOT 1
- Forge Initialization and Compilation Errors on Windows: Submodule Cloning and Import Resolution Issues in Git Bash/MINGW64 HOT 1
- Dependency Version Mismatch for alloy-rpc-types in foundry-common HOT 10
- Attempt to subtract with overflow while using bound in invariant test
- `forge script --verify` intermittently generates bytecode mismatch
- secp256r1 sign cheat code
- Fuzzing `uint256[][]` is very slow (30s+ for noop) HOT 4
- failed "forge install" should leave workspace untouched.
- Verbosity Level of 3 or higher makes forked tests 10-30x slower HOT 3
- Forge test tracing does not seem to respect the Etherscan or signature caches when running tests with high verbosity HOT 1
- High-verbosity Forge tests run with `--offline` still make network requests to Etherscan and OpenChain
- vm.sign and cast wallet sign produce different signatures given the same data.
- Anvil does not fund accounts when forking Arbitrum One HOT 1
- forge script --broadcast hangs with "waiting for receipts"
- `forge init` requires setting `user.name` and `user.email` in git global config HOT 1
- readFile / readAddress not consistent depending of OS (linux / Mac)
- rzproject
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foundry.