slither . is not working properly!! #2269
Unanswered
Jay-Sojitra
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi! It looks like your buidler project is failing to build; i.e. Consider migrating your project to Hardhat or some other maintained build tool, Buidler is not being actively developed anymore and has not received any updates for around three years now: https://medium.com/nomic-foundation-blog/buidler-has-evolved-introducing-hardhat-4bccd13bc931 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to find bugs from my all smart contracts and all contracts are in contracts folder and that folder is in root directory of core-protocol but when i do slither . then this error is coming=>
PS D:\Ethereum\Zeru_Internship\core-protocol> slither .
'npx buidler compile' running
An unexpected error occurred:
helpers/misc-utils.ts(137,16): error TS2769: No overload matches this call.
Overload 1 of 2, '(o: {}): string[]', gave the following error.
Argument of type 'T' is not assignable to parameter of type '{}'.
Overload 2 of 2, '(o: object): string[]', gave the following error.
Argument of type 'T' is not assignable to parameter of type 'object'.
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Jay\AppData\Local\Programs\Python\Python311\Scripts\slither.exe_main.py", line 7, in
File "C:\Users\Jay\AppData\Local\Programs\Python\Python311\Lib\site-packages\slither_main.py", line 727, in main
main_impl(all_detector_classes=detectors, all_printer_classes=printers)
File "C:\Users\Jay\AppData\Local\Programs\Python\Python311\Lib\site-packages\slither_main_.py", line 833, in main_impl
) = process_all(filename, args, detector_classes, printer_classes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jay\AppData\Local\Programs\Python\Python311\Lib\site-packages\slither_main_.py", line 96, in process_all
compilations = compile_all(target, **vars(args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jay\AppData\Local\Programs\Python\Python311\Lib\site-packages\crytic_compile\crytic_compile.py", line 718, in compile_all
compilations.append(CryticCompile(target, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jay\AppData\Local\Programs\Python\Python311\Lib\site-packages\crytic_compile\crytic_compile.py", line 207, in init
self._compile(**kwargs)
File "C:\Users\Jay\AppData\Local\Programs\Python\Python311\Lib\site-packages\crytic_compile\crytic_compile.py", line 629, in _compile
self._platform.compile(self, **kwargs)
File "C:\Users\Jay\AppData\Local\Programs\Python\Python311\Lib\site-packages\crytic_compile\platform\buidler.py", line 97, in compile
raise InvalidCompilation(txt)
crytic_compile.platform.exceptions.InvalidCompilation:
buidler compile
failed. Can you run it?.\cache\solc-output.json not found
PS D:\Ethereum\Zeru_Internship\core-protocol>
Beta Was this translation helpful? Give feedback.
All reactions