Skip to content
Open
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
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ COPY --from=wasm-libs-builder /workspace/ /
FROM wasm-base AS wasm-bin-builder
RUN apt update && apt install -y wabt
# pinned go version
RUN curl -L https://golang.org/dl/go1.25.1.linux-`dpkg --print-architecture`.tar.gz | tar -C /usr/local -xzf -
RUN curl -L https://golang.org/dl/go1.25.8.linux-`dpkg --print-architecture`.tar.gz | tar -C /usr/local -xzf -
COPY ./Makefile ./go.mod ./go.sum ./
COPY ./arbcompress ./arbcompress
COPY ./arbos ./arbos
Expand Down Expand Up @@ -140,6 +140,7 @@ RUN touch -a -m crates/prover/src/lib.rs
RUN NITRO_BUILD_IGNORE_TIMESTAMPS=1 make build-prover-lib
RUN NITRO_BUILD_IGNORE_TIMESTAMPS=1 make build-prover-bin
RUN NITRO_BUILD_IGNORE_TIMESTAMPS=1 make build-jit
RUN NITRO_BUILD_IGNORE_TIMESTAMPS=1 make build-validation-server

FROM scratch AS prover-export
COPY --from=prover-builder /workspace/target/ /
Expand Down Expand Up @@ -344,6 +345,13 @@ COPY --from=module-root-calc /workspace/target/machines/latest/machine.wavm.br /
COPY --from=module-root-calc /workspace/target/machines/latest/until-host-io-state.bin /home/user/target/machines/latest/
COPY --from=module-root-calc /workspace/target/machines/latest/module-root.txt /home/user/target/machines/latest/
COPY --from=module-root-calc /workspace/target/machines/latest/replay.wasm /home/user/target/machines/latest/
COPY --from=prover-export /bin/validator /usr/local/bin/
# Symlink legacy machine dirs into /home/user/target/machines so the Rust
# validator can serve all module roots from a single --root-path.
RUN for dir in /home/user/nitro-legacy/machines/*/; do \
name=$(basename "$dir"); \
[ "$name" != "latest" ] && ln -sf "$dir" /home/user/target/machines/"$name" || true; \
done
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y \
Expand Down
2 changes: 1 addition & 1 deletion nitro-testnode
6 changes: 3 additions & 3 deletions staker/block_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ func (c *BlockValidatorConfig) Validate() error {
if err != nil {
return fmt.Errorf("failed parsing validation server's url:%s err: %w", serverUrl, err)
}
if u.Scheme != "ws" && u.Scheme != "wss" {
return fmt.Errorf("validation server's url scheme is unsupported, it should either be ws or wss, url:%s", serverUrl)
if u.Scheme != "ws" && u.Scheme != "wss" && u.Scheme != "http" && u.Scheme != "https" {
return fmt.Errorf("validation server's url scheme is unsupported, it should be ws, wss, http, or https, url:%s", serverUrl)
}
}
}
Expand Down Expand Up @@ -928,7 +928,7 @@ func (v *BlockValidator) advanceValidations(ctx context.Context) (*arbutil.Messa
}
v.testingProgressMadeMutex.Unlock()

log.Trace("result validated", "count", v.validated(), "blockHash", v.lastValidGS.BlockHash)
log.Info("block validated", "count", v.validated(), "blockHash", v.lastValidGS.BlockHash, "batch", v.lastValidGS.Batch, "posInBatch", v.lastValidGS.PosInBatch)
}
}

Expand Down
Loading