Closed saarshah closed 4 years ago
Did you run script/extract.py, as explained in the README?
yes, i have run this python3 script/extract.py --proj example/myproject/ --port 8545
and it generate transactions.json
.. Please enlist procedure for new contract (from scratch to end, especially for newbies , like me )
Is it possible for you to share your project with me, so that I can investigate?
I think one only needs to run script/extract.py
before running ILF on new contracts. This is clearly written in README, so no need to enlist more.
ok i am now going to update my issue, see it in shortly ..
Anything else is needed ? let me know
I have figured it out... unfortunately, i was running ganache-cli , separately . When I closed that , my problem solved. Sorry for inconvenience.
Hi i have build your project manually in WSL. it works well on your example contract. Now I have add my simple contract into a example folder i.e.
myproject
(which is init/generated/compiled/migrated through truffle). I could also generate its transactions.js file. But when i run training datapython3 -m ilf --proj ./example/myproject/ --contract MyContract --limit 2000 --fuzzer symbolic --dataset_dump_path ./train_data/MyContract.data
, then i got this error.I just want to know to test/fuzz any new contract what procedures should i followed to get results ?
UPDATED: here is my contract
I have followed this procedure