From 4ee9d7afffad46db163690076518b090d6d8fad0 Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Thu, 2 May 2024 13:02:57 -0500 Subject: [PATCH] Small fixes to "multi exec servers" --- Dockerfile | 3 ++- staker/stateless_block_validator.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7cba82d4fc..25a5ff7fd4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -276,7 +276,8 @@ USER root RUN export DEBIAN_FRONTEND=noninteractive && \ apt-get update && \ - apt-get install -y xxd netcat-traditional + apt-get install -y xxd netcat-traditional && \ + rm -rf /var/lib/apt/lists/* /usr/share/doc/* /var/cache/ldconfig/aux-cache /usr/lib/python3.9/__pycache__/ /usr/lib/python3.9/*/__pycache__/ /var/log/* COPY scripts/split-val-entry.sh /usr/local/bin ENTRYPOINT [ "/usr/local/bin/split-val-entry.sh" ] USER user diff --git a/staker/stateless_block_validator.go b/staker/stateless_block_validator.go index 48c638f114..c1324098f8 100644 --- a/staker/stateless_block_validator.go +++ b/staker/stateless_block_validator.go @@ -398,7 +398,7 @@ func (v *StatelessBlockValidator) ValidateResult( } } if run == nil { - return false, nil, fmt.Errorf("validation woth WasmModuleRoot %v not supported by node", moduleRoot) + return false, nil, fmt.Errorf("validation with WasmModuleRoot %v not supported by node", moduleRoot) } defer run.Cancel() gsEnd, err := run.Await(ctx)