Upgrade openvm (#98)

This commit is contained in:
Han
2025-08-21 00:47:10 +08:00
committed by GitHub
parent f8eef49fd0
commit 0505f0e6e9
14 changed files with 288 additions and 410 deletions

View File

@@ -29,8 +29,8 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
# Install rustup.
# RUST_VERSION can be 1.85, stable, nightly, etc
ARG RUST_VERSION=1.85.0
# RUST_VERSION can be 1.86, stable, nightly, etc
ARG RUST_VERSION=1.86.0
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \

View File

@@ -14,11 +14,7 @@ RUN chmod +x /tmp/install_openvm_sdk.sh
# and installs cargo-openvm.
RUN /tmp/install_openvm_sdk.sh && rm /tmp/install_openvm_sdk.sh
# The specific Rust toolchain for OpenVM is now installed.
# cargo-openvm is installed in $CARGO_HOME/bin, which is already in PATH from ere-base.
ENV OPENVM_TOOLCHAIN_VERSION="nightly-2025-02-14"
# Verify cargo-openvm is accessible with the correct toolchain
RUN cargo "+${OPENVM_TOOLCHAIN_VERSION}" openvm --version
RUN cargo openvm --version
CMD ["/bin/bash"]