NilFoundation / zkLLVM

Zero-Knowledge Proof Systems Circuit Compiler
https://docs.nil.foundation/zkllvm
278 stars 48 forks source link

[Possible bug] Transpiler requires `-e arg` even when it isn't necessary #494

Closed Robertorosmaninho closed 7 months ago

Robertorosmaninho commented 7 months ago

Describe the bug When trying to get transpiler --help or transpiler --version we get the error:

$ transpiler --help          
Invalid command line argument - elliptic curve type is not specified
zkLLVM circuit EVM gate argument transpiler:
...

$ transpiler --version
Invalid command line argument - elliptic curve type is not specified
zkLLVM circuit EVM gate argument transpiler:
...

It works as expected tho if we use -e pallas for example:

$ transpiler -e pallas --version
0.1.14-7

Expected behavior The expected behavior is to use --help and --version without providing an elliptic curve type.

Version of toolchain present on example.