Closed wirednkod closed 1 year ago
Please consider each of these questions and suggestions and reply to each of them with an answer or the results of what happens when you try the suggestion?
main
(f896065a
)?rustup update
and try again?cargo clean
?--dev
?cargo build
and then separately run ./target/debug/academy-pow
?Thank you @JoshOrndorff - concerning your questions:
What commit were you building?
from Main
Does the same thing happen if you use the latest main (f896065a)?
Yes
What rust version are you using?
➜ Academy-PoW git:(main) rustc --version
rustc 1.70.0 (90c541806 2023-05-31)
Does the same thing happen if you run rustup update and try again?
Yes
Does this still happen after cargo clean?
Yes
Does it still happen if you add --dev?
Yes
Does it still happen if you use cargo build and then separately run ./target/debug/academy-pow?
Yes
@fbielejec I was not able to reproduce it. Can you explain a little bit what you know?
clap was confused by having to parse two RunCmd structs - this worked for other cases when arguments were passed because we had them as Optional, or with defaults, but actually the were always included, even for subcommands - these are the relevant changes:
@wirednkod the expected fix is merged now. Can you please confirm whether it is working as expected?
Thank you @fbielejec
@JoshOrndorff Issue is no longer there! Thank you so much
Thank you also @fbielejec
After building (with or without
--release
flag, when trying to run the PoW-node the following issue appear: