I have a problem when using validator-console.

Whenever I execute a command using the --cmd argument, it only sees the first command word, and not the rest of the arguments.

For example, running:
validator-console --cmd 'help'
workes and prints full help.

However, running:
validator-console --cmd 'help gettime'
doesn't work and still prints full help.

Inside the validator-console, commands work as expected.

Does anyone know what I'm missing?

Jul 27, 2023, 10:05 AM
I also had similar problems when working with toncli.
Jul 27, 2023, 10:13 AM
Any workarounds?
Jul 27, 2023, 10:14 AM
You can be a custodial, creating key pairs (or mnemonics) from user IDs and secret salt.
Jul 27, 2023, 10:57 AM
I found a workaround in case anyone were wondering.

It looks like that validator-console is a script that runs validator-engine-console as a child process and exits after running it.

If I execute the main executable (validator-engine-console) then there is no problem.
Jul 27, 2023, 11:12 AM
cool idea
Jul 27, 2023, 12:16 PM

© 2024 Draquery.com All rights reserved.