Comments (2)
Solidity's output does not return the max length of the enum, so the fuzzer can't know the max value to use. As a workaround for now you should pass a uint8, bound it, then cast to your enum. See #871 for more info
I'll leave this issue open as the tracking issue better enum support as discussed in #871
from foundry.
Solidity's output does not return the max length of the enum, so the fuzzer can't know the max value to use. As a workaround for now you should pass a uint8, bound it, then cast to your enum. See #871 for more info
I'll leave this issue open as the tracking issue better enum support as discussed in #871
What if the fuzz test has a struct parameter containing an enum? See my comment on #871 for more clarity to the problem.
from foundry.
Related Issues (20)
- Feature request: `--disable-metadata` as CLI option to `forge build`
- anvil: EVM error MemoryLimitOOG HOT 10
- Retrieving default `arbitrum_one` rpc url fails HOT 6
- Provide more transaction info for `forge script`
- from docs, "docker pull ghcr.io/foundry-rs/foundry:latest" fails
- Fuzz Default Runs `257` Instead of `256` HOT 1
- Support injecting custom precompiles to anvil HOT 1
- --isolate does not work for tload? HOT 1
- recent anvil --state/dump-state changes are broken HOT 1
- Performance regression for invariant tests HOT 8
- Foundry versioning and changelog
- bug: release workflow failed
- `cast run` produces incorrect contract address on Arbitrum
- Incorrect Simulation of Arbitrum Transaction
- Otterscan ots_searchTransactionsBefore, ots_searchTransactionsAfter: incorrect firstPage lastPage and ordering
- feat: cheatcode coverage for modifiers
- Inconsistent behavior of `cast wallet --import` and `cast wallet list`
- Doubt regarding foundry test implementation flow HOT 1
- Failed script broadcasts after successful simulation on Arbitrum HOT 2
- display IPC path in anvil launch output HOT 1
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.