merge #5512 again after reverting due to incorrect rebase (#5520)

* setup workspace global lints to prevent needless panics

* removed sources of panic in nym-crypto, nym-node and nym-api

* adjusted test code
This commit is contained in:
Jędrzej Stuczyński
2025-02-26 10:52:09 +00:00
committed by GitHub
parent 69b2448500
commit 65175fee09
40 changed files with 181 additions and 69 deletions
+2
View File
@@ -68,6 +68,8 @@ fn print_signed_contract_msg(
println!("{}", output.format(&sign_output));
}
// SAFETY: clippy ArgGroup ensures only a single branch is actually called
#[allow(clippy::unreachable)]
pub async fn execute(args: Args) -> Result<(), NymNodeError> {
let config = try_load_current_config(args.config.config_path()).await?;
let identity_keypair =