Skip to content

Commit c37b9ac

Browse files
maxholmanclaude
andcommitted
fix(bench): restore smoke and resilience tests
cross build fails inside its Ubuntu 20.04 container because the nightly toolchain's build scripts need glibc 2.32+. Since musl is installed natively, use cargo directly. Bench init.sh used removed positional subcommands (wallhack daemon entry) instead of the unified --role flag. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ee621a0 commit c37b9ac

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

bench/bench.just

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ build-tc:
107107
108108
cargo-build-musl:
109109
echo "Building musl binary (slim)..."
110-
cross build --release --target "{{ musl_target }}" -p wallhack-cli --no-default-features --features slim
110+
cargo build --release --target "{{ musl_target }}" -p wallhack-cli --no-default-features --features slim
111111

112112
clean:
113113
rm -rf "{{ staging_dir }}"

bench/vm/init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ _run_exit() {
150150

151151
echo "WALLHACK_TS: exit_wallhack_start=$(date +%s%3N)"
152152
# wallhack exit node — connects to entry (retries with backoff)
153-
wallhack daemon ${DEBUG:+"--debug"} exit \
153+
wallhack daemon ${DEBUG:+"--debug"} --role exit \
154154
-c "${ENTRY_ETH}:${WH_PORT}${_TSUFFIX}" \
155155
--name "${PEER_NAME}" \
156156
2>&1 | tee /tmp/wallhack-exit.log &
@@ -304,7 +304,7 @@ _run_entry() {
304304

305305
echo "WALLHACK_TS: entry_wallhack_start=$(date +%s%3N)"
306306
# Start wallhack entry node (listen mode)
307-
wallhack daemon ${DEBUG:+"--debug"} entry \
307+
wallhack daemon ${DEBUG:+"--debug"} --role entry \
308308
-l ":${WH_PORT}${_TSUFFIX}" \
309309
2>&1 | tee /tmp/wallhack-entry.log &
310310

0 commit comments

Comments
 (0)