chore: bump foundry container image to v1.7.1#10668
Draft
gregorydemay wants to merge 3 commits into
Draft
Conversation
Bump the foundry OCI image used by the ckETH cross-chain system test from v0.3.0 to the latest stable release v1.7.1. Beyond staying current, v1.x ships an anvil whose default hardfork includes Pectra (EIP-7702), a prerequisite for exercising the deposit-from-CEX sweep design (DEFI-2096) in a system test. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the pinned Foundry OCI image digest in MODULE.bazel to use foundry-rs/foundry v1.7.1, ensuring the ckETH cross-chain system test toolchain supports newer anvil defaults (including Pectra / EIP-7702) required for upcoming system-test scenarios.
Changes:
- Bump Foundry container image from v0.3.0 to v1.7.1 by updating the pinned digest in
oci.pull.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Since foundry v1 the container runs as the non-root 'foundry' user, so 'forge create' can no longer write its out/cache compilation artifacts to the default working directory '/'. Run the container with '-w /tmp' so the artifacts land in a writable location. Verified by running the farm-based //rs/tests/cross_chain:ic_xc_cketh_test to completion against the v1.7.1 image. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the foundry OCI image pinned in
MODULE.bazel(used to build the ckETH cross-chain system test's UVM config image) from v0.3.0 to the latest stable release v1.7.1.Besides keeping the toolchain current, v1.x ships an
anvilwhose default hardfork includes Pectra (EIP-7702). That is a prerequisite for exercising the deposit-from-CEX sweep design (DEFI-2096) in a system test, which relies on EIP-7702 delegation.The image is pinned by digest (multi-arch index
sha256:8347b728…, which contains thelinux/amd64manifest thatoci.pullselects).Since foundry v1 the container image runs as the non-root
foundryuser, soforge createcan no longer write itsout/cachecompilation artifacts to the default working directory/. The ckETH cross-chain test is updated to run the container with-w /tmpso those artifacts land in a writable location.Verified by running the farm-based
//rs/tests/cross_chain:ic_xc_cketh_testto completion against the v1.7.1 image.