From 5092006b27988adf9c2d2195c38ed967d4affd37 Mon Sep 17 00:00:00 2001 From: Jerry Date: Fri, 27 May 2022 14:40:04 -0700 Subject: [PATCH] Fix default Dockerfile for new CLI --- Dockerfile | 4 +++- consensus/bor/bor.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8af791ab3f..7a2770ce9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,9 @@ RUN apt-get update -y && apt-get upgrade -y \ WORKDIR ${BOR_DIR} COPY . . -RUN make bor-all +RUN make bor + +RUN cp build/bin/bor /usr/local/bin/ ENV SHELL /bin/bash EXPOSE 8545 8546 8547 30303 30303/udp diff --git a/consensus/bor/bor.go b/consensus/bor/bor.go index 62336e73f0..9e43e67037 100644 --- a/consensus/bor/bor.go +++ b/consensus/bor/bor.go @@ -548,7 +548,7 @@ func (c *Bor) snapshot(chain consensus.ChainHeaderReader, number uint64, hash co number, hash = number-1, header.ParentHash } - log.Info("Snapshot has been found in %d headers depth.", len(headers)) + log.Info("Snapshot has been found in", "headers depth", len(headers)) // check if snapshot is nil if snap == nil {