Comments (4)
Have you tried using the coverage report to see what lines of the constructor are failing? I found Medusa's report to be pretty accurate for tracking what lines of the constructor ended up executing or reverting.
from medusa.
Can you try the master
branch? It should have better error reporting
#337
from medusa.
Thanks for your responses.
The coverage report is not being generated. Here's the updated logs:
[I] ➜ medusa fuzz
⇾ Reading the configuration file at: medusa.json
⇾ Compiling targets with crytic-compile
⇾ Initializing corpus
⇾ Setting up base chain
error Failed to initialize the test chain
{
‣ contract deployment tx returned a failed status: execution reverted
‣ [Execution Trace]
=> [creation] CryticTester.constructor() (addr=0xA647ff3c36cFab592509E13860ab8c4F28781a66, value=300000000000000000000, sender=0x0000000000000000000000000000000000030000)
=> [revert]
from medusa.
Hmm actually I think the problem is that I had an old "targetContractsBalances": ["0x1043561a8829300000"]
set to 3 ether.
I removed it and it now works.
The new logs did help!
Thank you
from medusa.
Related Issues (20)
- Possible error with `prankHere` HOT 3
- Errors using medusa with crytic-compile: `unable to parse ABI` & `unable to parse init bytecode` HOT 11
- Brainstorming: support for getMappingSlotAt, getMappingLength and getMappingKeyAndParentOf HOT 1
- tell the user how the project is being built by logging commands HOT 1
- Implement `startPrank` and `stopPrank`
- Add basic installation instructions to main `README`
- Assign shrinking to one worker
- Add sometimes assertions HOT 1
- tracking: performance optimizations HOT 2
- WIP: Potential race condition when updating PC hits
- assertion mode: fail and save reproducer if custom error is returned HOT 1
- Coverage report still generated when disabled HOT 1
- add `--explore` flag that disables all testing modes and sets `stopOnNoTests` to false
- enable loading state from forge script ran against anvil
- medusa appears to use one more core than specified HOT 4
- speed up tests
- add tool to convert an echidna config to medusa's format
- experiment with per-worker corpus
- investigate performance of memory pool for coverage tracer
- add support for the `label` cheat
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 medusa.