Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion .cargo/audit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,33 @@ ignore = [
# k256, p256, ecdsa, alloy-signer 2.0.4. The elliptic-curve 0.13 line requires
# crypto-bigint ^0.5, so it cannot update without moving off elliptic-curve 0.13.
"RUSTSEC-2026-0387",
]

# hickory-proto / hickory-resolver 0.25.2 via libp2p-dns 0.44.0 → libp2p 0.56.0 →
# arc-malachitebft-*. Fixed by moving malachite to libp2p 0.57 (hickory 0.26).
# DNSSEC validation is not compiled in (no dnssec-* feature enabled):
"RUSTSEC-2026-0504",
"RUSTSEC-2026-0505",
"RUSTSEC-2026-0511",
"RUSTSEC-2026-0512",
"RUSTSEC-2026-0514",
"RUSTSEC-2026-0530",
"RUSTSEC-2026-0531",
"RUSTSEC-2026-0532",
# Zone-file and SVCB/HTTPS text parsing; the resolver only parses wire format:
"RUSTSEC-2026-0487",
"RUSTSEC-2026-0489",
"RUSTSEC-2026-0490",
# Memory amplification from header record counts; reachable only through DNS
# responses to operator-configured `/dns` peer addresses:
"RUSTSEC-2026-0491",

# rmcp 1.4.0 - unbounded response buffering in Streamable HTTP clients; fixed in >=3.9.0.
# Used only by quake (dev tooling) with the server and stdio transports; the
# Streamable HTTP client is not compiled in.
"RUSTSEC-2026-0462",

# libp2p-gossipsub 0.49.5 - unbounded backoff state from PRUNE messages for unknown
# topics; fixed in >=0.50.1, which requires libp2p 0.57. Transitive dependency via
# arc-malachitebft-network (malachite v0.8.2); cannot update without bumping malachite.
"RUSTSEC-2026-0534",
]
6 changes: 6 additions & 0 deletions BREAKING_CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ Entries are split by audience. A change appears under `### For Validators` when

Compare and release-notes links resolve once the corresponding tag is published at [`circlefin/arc-node`](https://github.com/circlefin/arc-node).

## [v0.8.6]

**Changes:** [v0.8.5...v0.8.6](https://github.com/circlefin/arc-node/compare/v0.8.5...v0.8.6) -- [release notes](https://github.com/circlefin/arc-node/releases/tag/v0.8.6)

No breaking changes in this release.

## [v0.8.5]

**Changes:** [v0.8.4...v0.8.5](https://github.com/circlefin/arc-node/compare/v0.8.4...v0.8.5) -- [release notes](https://github.com/circlefin/arc-node/releases/tag/v0.8.5)
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

All notable changes to arc-node are documented in this file.

## [v0.8.6]

**Changes:** [v0.8.5...v0.8.6](https://github.com/circlefin/arc-node/compare/v0.8.5...v0.8.6) -- [release notes](https://github.com/circlefin/arc-node/releases/tag/v0.8.6)

This release has no hardfork activation and no database migration, and v0.8.6 nodes run alongside v0.8.5 nodes on the same network. Node operators can upgrade the binary on their own schedule.

### Features

- [Shared] Build the Docker images on Debian 13 (trixie); the release runtime image is now based on `distroless/cc-debian13`

### Fixes

- [Shared] Remediate cargo audit advisories via dependency bumps, including quinn-proto, quinn-udp, libp2p-quic, and openssl

## [v0.8.5]

**Changes:** [v0.8.4...v0.8.5](https://github.com/circlefin/arc-node/compare/v0.8.4...v0.8.5) -- [release notes](https://github.com/circlefin/arc-node/releases/tag/v0.8.5)
Expand Down
59 changes: 36 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions assets/apt/apt-https-cainfo.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Since trixie, APT uses OpenSSL, whose default trust store is absent from
# slim images. Set the path to the bundle explicitly.
Acquire::https::CaInfo "/etc/ssl/certs/ca-certificates.crt";
8 changes: 4 additions & 4 deletions assets/apt/debian.sources
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
# blips are handled by Acquire::Retries in apt-retry.conf; a size mismatch is not retryable.
#
# NOTE: Uses HTTPS because HTTP port 80 is blocked by StepSecurity egress policy.
# NOTE: The suite "bookworm" must match the Debian version in the Dockerfiles.
# NOTE: The suite "trixie" must match the Debian version in the Dockerfiles.
# If Dockerfile.execution or Dockerfile.consensus change their base images to a
# different Debian release (e.g., rust:X.Y.Z-trixie), update the Suites below.
# different Debian release (e.g., rust:X.Y.Z-forky), update the Suites below.

Types: deb
URIs: https://deb.debian.org/debian
Suites: bookworm bookworm-updates
Suites: trixie trixie-updates
Components: main
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb
URIs: https://deb.debian.org/debian-security
Suites: bookworm-security
Suites: trixie-security
Components: main
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
11 changes: 6 additions & 5 deletions deployments/Dockerfile.consensus
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###############
# cargo chef
###############
FROM public.ecr.aws/docker/library/rust:1.93.0-bookworm AS chef
FROM public.ecr.aws/docker/library/rust:1.93.0-trixie AS chef

# Install any custom CA certificates from the certs named context.
RUN --mount=type=bind,from=certs,target=/usr/local/share/ca-certificates/ \
Expand Down Expand Up @@ -51,7 +51,7 @@ WORKDIR /app
COPY --from=planner /src/arc-node-consensus-recipe.json arc-node-consensus-recipe.json
RUN --mount=type=cache,id=malachite-cargo-registry,sharing=locked,target=/usr/local/cargo/registry \
--mount=type=cache,id=malachite-cargo-git,sharing=locked,target=/usr/local/cargo/git \
--mount=type=cache,id=malachite-cargo-target,sharing=locked,target=/app/target \
--mount=type=cache,id=malachite-cargo-target-trixie,sharing=locked,target=/app/target \
--mount=type=secret,id=github_token,required=false \
# Cook the recipe produced by the planner, namely compile dependencies
set -eu; \
Expand Down Expand Up @@ -82,7 +82,7 @@ COPY . .
# - Build target directory (compiled artifacts)
RUN --mount=type=cache,id=malachite-cargo-registry,sharing=locked,target=/usr/local/cargo/registry \
--mount=type=cache,id=malachite-cargo-git,sharing=locked,target=/usr/local/cargo/git \
--mount=type=cache,id=malachite-cargo-target,sharing=locked,target=/app/target \
--mount=type=cache,id=malachite-cargo-target-trixie,sharing=locked,target=/app/target \
--mount=type=secret,id=github_token,required=false \
set -eu; \
if [ -s /run/secrets/github_token ]; then \
Expand All @@ -102,7 +102,7 @@ RUN --mount=type=cache,id=malachite-cargo-registry,sharing=locked,target=/usr/lo
#######################
# release runtime image
#######################
FROM gcr.io/distroless/cc-debian12:nonroot AS release-runtime
FROM gcr.io/distroless/cc-debian13:nonroot AS release-runtime

# Copy CA certificates from the chef stage into the runtime image.
COPY --from=chef /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
Expand All @@ -124,11 +124,12 @@ ENTRYPOINT ["/usr/local/bin/arc-node-consensus"]
###################
# dev runtime image
###################
FROM public.ecr.aws/docker/library/debian:bookworm-slim AS dev-runtime
FROM public.ecr.aws/docker/library/debian:trixie-slim AS dev-runtime
COPY --from=chef /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt

# Configure apt-get with retry logic and fallback mirrors for CI reliability
COPY assets/apt/apt-retry.conf /etc/apt/apt.conf.d/apt-retry.conf
COPY assets/apt/apt-https-cainfo.conf /etc/apt/apt.conf.d/apt-https-cainfo.conf
COPY assets/apt/debian.sources /etc/apt/sources.list.d/debian.sources

# Install iptables and tc for chaos testing
Expand Down
8 changes: 4 additions & 4 deletions deployments/Dockerfile.engine-bench
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###############
# cargo chef
###############
FROM public.ecr.aws/docker/library/rust:1.93.0-bookworm AS chef
FROM public.ecr.aws/docker/library/rust:1.93.0-trixie AS chef

# Install any custom CA certificates from the certs named context.
RUN --mount=type=bind,from=certs,target=/usr/local/share/ca-certificates/ \
Expand Down Expand Up @@ -46,7 +46,7 @@ WORKDIR /app
COPY --from=planner /src/arc-engine-bench-recipe.json arc-engine-bench-recipe.json
RUN --mount=type=cache,id=bench-cargo-registry,sharing=locked,target=/usr/local/cargo/registry \
--mount=type=cache,id=bench-cargo-git,sharing=locked,target=/usr/local/cargo/git \
--mount=type=cache,id=bench-cargo-target,sharing=locked,target=/app/target \
--mount=type=cache,id=bench-cargo-target-trixie,sharing=locked,target=/app/target \
--mount=type=secret,id=github_token,required=false \
# Cook the recipe produced by the planner, namely compile dependencies
set -eu; \
Expand All @@ -72,7 +72,7 @@ COPY . .

RUN --mount=type=cache,id=bench-cargo-registry,sharing=locked,target=/usr/local/cargo/registry \
--mount=type=cache,id=bench-cargo-git,sharing=locked,target=/usr/local/cargo/git \
--mount=type=cache,id=bench-cargo-target,sharing=locked,target=/app/target \
--mount=type=cache,id=bench-cargo-target-trixie,sharing=locked,target=/app/target \
--mount=type=secret,id=github_token,required=false \
set -eu; \
if [ -s /run/secrets/github_token ]; then \
Expand All @@ -87,7 +87,7 @@ RUN --mount=type=cache,id=bench-cargo-registry,sharing=locked,target=/usr/local/
#######################
# dev runtime image
#######################
FROM gcr.io/distroless/cc-debian12:nonroot AS dev-runtime
FROM gcr.io/distroless/cc-debian13:nonroot AS dev-runtime

COPY --from=chef /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt

Expand Down
Loading
Loading