From 0bc7681875473e3b56210f6935748e86fe373f27 Mon Sep 17 00:00:00 2001 From: igneum-labs <337424239+igneum-labs@users.noreply.github.com> Date: Tue, 6 Oct 2026 22:37:56 +0000 Subject: [PATCH] igneum-pow show: --shadow-reps reaches the show path too (the step case's id check, 22:37Z: the CLI printed the rung-0 id for --shadow-reps 35 because show built its program without the rung; the three miners' rung-1 ids agreed with each other and differed from rung 0, as the chain requires) Co-Authored-By: Claude Fable 5.1 --- igneum-pow/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/igneum-pow/src/main.rs b/igneum-pow/src/main.rs index be02cad0..29bb77d8 100644 --- a/igneum-pow/src/main.rs +++ b/igneum-pow/src/main.rs @@ -416,7 +416,7 @@ fn show(a: &Args) { // the load class of --class, the era of --era composed over it let era_hex_bytes = a.era_hex.as_deref().map(|h| igneum_pow::bind::unhex(h).unwrap_or_else(|| usage())); let mut p = match a.program_class { - Some(pc) => igneum_pow::generator::generate_from_seed_bytes_program_class(&label, &bytes, pc, era_hex_bytes.as_deref()), + Some(pc) => igneum_pow::generator::generate_from_seed_bytes_program_class_shadow(&label, &bytes, pc, era_hex_bytes.as_deref(), a.shadow_reps), None => igneum_pow::generator::generate_from_seed_bytes_class(&label, &bytes, a.class), }; if let (None, Some((_, eb, _))) = (a.program_class, &a.era) {