Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anvil 0.3.0 #142

Merged
merged 1 commit into from
Jan 30, 2025
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
6 changes: 6 additions & 0 deletions .changeset/fluffy-taxis-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@cartesi/devnet": minor
"@cartesi/sdk": minor
---

bump anvil to 0.3.0
2 changes: 2 additions & 0 deletions .github/workflows/cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: v0.3.0

- name: Install dependencies
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/devnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-2044faec64f99a21f0e5f0094458a973612d0712
version: v0.3.0

- name: Install dependencies
run: pnpm install
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/paymaster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: v0.3.0

- name: Install dependencies
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-2044faec64f99a21f0e5f0094458a973612d0712
version: v0.3.0

- name: Install Dependencies
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
ARG ESPRESSO_DEV_NODE_TAG

# https://github.com/EspressoSystems/espresso-sequencer/pkgs/container/espresso-sequencer%2Fespresso-dev-node
FROM ghcr.io/espressosystems/espresso-sequencer/espresso-dev-node:${ESPRESSO_DEV_NODE_TAG} AS espresso-dev-node

Check warning on line 15 in packages/sdk/Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ghcr.io/espressosystems/espresso-sequencer/espresso-dev-node:${ESPRESSO_DEV_NODE_TAG} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

################################################################################
# base image
FROM ${BASE_IMAGE} AS base

Check warning on line 19 in packages/sdk/Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${BASE_IMAGE} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
ARG DEBIAN_FRONTEND=noninteractive
RUN <<EOF
Expand Down Expand Up @@ -66,13 +66,13 @@

################################################################################
# alto installer
FROM node:${NODEJS_VERSION}-bookworm AS alto

Check warning on line 69 in packages/sdk/Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG node:${NODEJS_VERSION}-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
ARG ALTO_VERSION
RUN npm install -g @pimlico/alto@${ALTO_VERSION}

################################################################################
# devnet installer
FROM node:${NODEJS_VERSION}-bookworm AS devnet

Check warning on line 75 in packages/sdk/Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG node:${NODEJS_VERSION}-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
ARG DEVNET_VERSION
RUN npm install -g @cartesi/devnet@${DEVNET_VERSION}

Expand Down Expand Up @@ -140,7 +140,7 @@

# download anvil pre-compiled binaries
ARG ANVIL_VERSION
RUN curl -sSL https://github.com/foundry-rs/foundry/releases/download/nightly-${ANVIL_VERSION}/foundry_nightly_linux_$(dpkg --print-architecture).tar.gz | \
RUN curl -sSL https://github.com/foundry-rs/foundry/releases/download/v${ANVIL_VERSION}/foundry_v${ANVIL_VERSION}_linux_$(dpkg --print-architecture).tar.gz | \
tar -zx -C /usr/local/bin

# healthcheck script using net_listening JSON-RPC method
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ target "default" {
CRANE_VERSION = "0.19.1"
NODEJS_VERSION = "18.19.0"
SU_EXEC_VERSION = "0.2"
ANVIL_VERSION = "2044faec64f99a21f0e5f0094458a973612d0712"
ANVIL_VERSION = "0.3.0"
CARTESI_ROLLUPS_GRAPHQL_VERSION = "2.3.4"
ESPRESSO_DEV_NODE_TAG = "20241120-patch2"
}
Expand Down
Loading