Closed woon999 closed 10 months ago
When running the aleo program, I got an error while reading the '.env' file.
I think I got a parsing error because I mistakenly entered pubkey for PrivateKey (probably there is an exception for matching the "APrivateKey" prefix).
It would be nice to show the error more explicitly. like PrivateKey parsing error
something.
anyway it works now, so I'll close it.
🐛 Bug Report
When attempting to execute a Leo program using
leo run main '{e0:0u32, e1:0u32}'
orleo run main
, the process fails after compiling, indicating an error within the Aleo instructions generation phase.The error reported is InvalidCharacter { character: 'l', index: 1 }
, suggesting an issue with parsing or handling specific characters in the input or the compiled Aleo instructions.This bug prevents the execution of Leo programs, impacting the ability to test or run any Leo-based applications. It's a significant issue for developers working with Leo to develop zero-knowledge applications.
Steps to Reproduce
Code snippet to reproduce
.env
filepy dt.py
py generate_dt_leo.py
leo run main '{e0:0u32, e1:0u32}'
<- this is the issue partStack trace & error message
Expected Behavior
The expected behavior was for the Leo program to execute successfully, performing the operations defined in
main.leo
without encountering parsing or execution errors.Your Environment