Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amsanghi committed Jul 10, 2024
1 parent dce50b0 commit 867a1b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/validate-wasm-module-root.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PROVER=$2

for machine in "$MACHINES_DIR"/*/ ; do
if [ -d "$machine" ]; then
expectedWasmModuleRoot=$(basename "$machine")
expectedWasmModuleRoot=$(cat "$machine/module-root.txt")
actualWasmModuleRoot=$(cd "$machine" && "$PROVER" machine.wavm.br --print-wasmmoduleroot)
if [ "$expectedWasmModuleRoot" != "$actualWasmModuleRoot" ]; then
echo "Error: Expected module root $expectedWasmModuleRoot but found $actualWasmModuleRoot in $machine"
Expand Down

0 comments on commit 867a1b1

Please sign in to comment.