From c9934e45b8ce1d94c3bf6e0135cb022057bf7d12 Mon Sep 17 00:00:00 2001 From: jonastheis <4181434+jonastheis@users.noreply.github.com> Date: Wed, 8 Jul 2026 14:58:39 +0800 Subject: [PATCH] fix(examples): add missing bytes-compat remapping to smart-contract-requestor PR #2044 added a bytes-compat import to contracts/src/types/Predicate.sol and the corresponding remapping to the root foundry.toml, but the smart-contract-requestor example has its own remappings.txt that was not updated, breaking its forge build in the nightly examples workflow. Also add --fail to the blake3 groth16 artifact download so a missing artifact fails the download step instead of passing an HTML error page to tar. --- .github/workflows/nightly-examples.yml | 2 +- examples/smart-contract-requestor/remappings.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly-examples.yml b/.github/workflows/nightly-examples.yml index fbeec1bf24..4dfa7b8d5e 100644 --- a/.github/workflows/nightly-examples.yml +++ b/.github/workflows/nightly-examples.yml @@ -169,7 +169,7 @@ jobs: echo "BLAKE3_GROTH16_SETUP_DIR=$HOME/.risc0/blake3_groth16" >> "$GITHUB_ENV" mkdir -p "$BLAKE3_GROTH16_SETUP_DIR" - curl -L -o /tmp/blake3_groth16_artifacts.tar.xz \ + curl -fL -o /tmp/blake3_groth16_artifacts.tar.xz \ "https://staging-signal-artifacts.beboundless.xyz/v3/proving/blake3_groth16_artifacts.tar.xz" tar -xJf /tmp/blake3_groth16_artifacts.tar.xz \ -C "$BLAKE3_GROTH16_SETUP_DIR" --strip-components=1 diff --git a/examples/smart-contract-requestor/remappings.txt b/examples/smart-contract-requestor/remappings.txt index 2231f9acd4..56bdf24d36 100644 --- a/examples/smart-contract-requestor/remappings.txt +++ b/examples/smart-contract-requestor/remappings.txt @@ -2,4 +2,5 @@ forge-std/=lib/forge-std/src/ openzeppelin/=lib/openzeppelin-contracts/ risc0/=lib/risc0-ethereum/contracts/src/ boundless-market/=../../contracts/src/ +bytes-compat/=../../lib/openzeppelin-contracts/contracts/utils/