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

Osiris/bump reth #48

Merged
merged 14 commits into from
Oct 30, 2024
Merged
1 change: 0 additions & 1 deletion .github/workflows/devnet-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Block Building CI
on:
pull_request:
branches: [main]
types: [review_requested, ready_for_review]
workflow_dispatch:

env:
Expand Down
20 changes: 20 additions & 0 deletions devnet/Dockerfile.rollup-boost
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Use the official Rust image for building
FROM rust:1.81 AS builder

# Set the working directory inside the container
WORKDIR /app

# Update package lists and install git
RUN apt-get update && \
apt-get install -y git clang libclang-dev pkg-config && \
git clone --depth=1 https://github.com/flashbots/rollup-boost.git . && \
cargo build --release

# Create a minimal image to run the binary
FROM debian:bookworm-slim

# Copy the binary from the builder stage
COPY --from=builder /app/target/release/rollup-boost /app/

# Set the working directory
WORKDIR /app
9 changes: 7 additions & 2 deletions devnet/Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ devnet-down:
kurtosis enclave rm -f world-chain
kurtosis clean

# Builds and tags the world-chain-builder image
build:
# Builds and tags the world-chain-builder, and rollup-boost images
build: build-world-chain build-rollup-boost

build-rollup-boost:
docker buildx build -t rollup-boost:latest -f Dockerfile.rollup-boost .

build-world-chain:
docker buildx build -t world-chain-builder:latest -f ../world-chain-builder/Dockerfile ../world-chain-builder
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def get_config(

public_ports = {}
cmd = [
"/app/rollup-boost",
"--jwt-path=" + constants.JWT_MOUNT_PATH_ON_CONTAINER,
"--l2-url={0}".format(L2_EXECUTION_ENGINE_ENDPOINT),
"--builder-url={0}".format(BUILDER_EXECUTION_ENGINE_ENDPOINT),
Expand Down
2 changes: 1 addition & 1 deletion devnet/src/package_io/input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ DEFAULT_EL_IMAGES = {
}

DEFAULT_ENGINE_IMAGES = {
"rollup-boost": "docker.io/leytont/rollup-boost:latest",
"rollup-boost": "rollup-boost:latest",
}

DEFAULT_CL_IMAGES = {
Expand Down
Loading