From 99c7c572c2fd37652cf38f9f3dc734a7b2df9acc Mon Sep 17 00:00:00 2001 From: bnoieh <135800952+bnoieh@users.noreply.github.com> Date: Thu, 25 Apr 2024 22:05:49 +0800 Subject: [PATCH] fix: fmt and Dockerfile --- op-batcher/Dockerfile | 1 + op-bootnode/Dockerfile | 2 ++ op-node/Dockerfile | 2 ++ op-proposer/Dockerfile | 1 + op-service/eth/blobs_api.go | 6 +++--- op-service/sources/l1_client.go | 3 --- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/op-batcher/Dockerfile b/op-batcher/Dockerfile index 99dda06aba4d..a1d08badfc71 100644 --- a/op-batcher/Dockerfile +++ b/op-batcher/Dockerfile @@ -11,6 +11,7 @@ COPY ./op-bindings /app/op-bindings COPY ./op-node /app/op-node COPY ./op-service /app/op-service COPY ./op-aws-sdk /app/op-aws-sdk +COPY ./op-plasma /app/op-plasma COPY ./go.mod /app/go.mod COPY ./go.sum /app/go.sum diff --git a/op-bootnode/Dockerfile b/op-bootnode/Dockerfile index 45d73a29c8a9..7fa8b12223e4 100644 --- a/op-bootnode/Dockerfile +++ b/op-bootnode/Dockerfile @@ -10,6 +10,8 @@ COPY ./op-bootnode /app/op-bootnode COPY ./op-bindings /app/op-bindings COPY ./op-node /app/op-node COPY ./op-service /app/op-service +COPY ./op-plasma /app/op-plasma +COPY ./op-conductor /app/op-conductor COPY ./op-aws-sdk /app/op-aws-sdk COPY ./go.mod /app/go.mod COPY ./go.sum /app/go.sum diff --git a/op-node/Dockerfile b/op-node/Dockerfile index 78d0b453ddfd..8089733389f7 100644 --- a/op-node/Dockerfile +++ b/op-node/Dockerfile @@ -10,6 +10,8 @@ COPY ./op-node /app/op-node COPY ./op-chain-ops /app/op-chain-ops COPY ./op-service /app/op-service COPY ./op-bindings /app/op-bindings +COPY ./op-plasma /app/op-plasma +COPY ./op-conductor /app/op-conductor COPY ./op-aws-sdk /app/op-aws-sdk COPY ./go.mod /app/go.mod COPY ./go.sum /app/go.sum diff --git a/op-proposer/Dockerfile b/op-proposer/Dockerfile index 151e46ec4a2a..4cdf13819d74 100644 --- a/op-proposer/Dockerfile +++ b/op-proposer/Dockerfile @@ -10,6 +10,7 @@ COPY ./op-proposer /app/op-proposer COPY ./op-bindings /app/op-bindings COPY ./op-node /app/op-node COPY ./op-service /app/op-service +COPY ./op-plasma /app/op-plasma COPY ./op-aws-sdk /app/op-aws-sdk COPY ./go.mod /app/go.mod COPY ./go.sum /app/go.sum diff --git a/op-service/eth/blobs_api.go b/op-service/eth/blobs_api.go index 2ceb093b4b2c..1e3b07819285 100644 --- a/op-service/eth/blobs_api.go +++ b/op-service/eth/blobs_api.go @@ -74,9 +74,9 @@ type VersionInformation struct { } type BSCBlobTxSidecar struct { - Blobs []Blob `json:"blobs"` // Blobs needed by the blob pool - Commitments []Bytes48 `json:"commitments"` // Commitments needed by the blob pool - Proofs []Bytes48 `json:"proofs"` // Proofs needed by the blob pool + Blobs []Blob `json:"blobs"` + Commitments []Bytes48 `json:"commitments"` + Proofs []Bytes48 `json:"proofs"` } type BSCBlobSidecar struct { diff --git a/op-service/sources/l1_client.go b/op-service/sources/l1_client.go index bea3c199d9a2..c2672aaa3d9d 100644 --- a/op-service/sources/l1_client.go +++ b/op-service/sources/l1_client.go @@ -324,9 +324,6 @@ func validateBlobSidecars (blobSidecars eth.BSCBlobSidecars, ref eth.L1BlockRef) return blobsMap, nil } - - - func (s *L1Client) Close() { close(s.done) s.EthClient.Close()