From bd331241d7a3c9dd8245c906f5c049969106e50a Mon Sep 17 00:00:00 2001 From: King Date: Sun, 2 Feb 2025 23:04:09 +0100 Subject: [PATCH 1/3] Fix typos in coordinator/internal/logic/submitproof/proof_receiver.go --- coordinator/internal/logic/submitproof/proof_receiver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coordinator/internal/logic/submitproof/proof_receiver.go b/coordinator/internal/logic/submitproof/proof_receiver.go index 3e739152fc..969f1685f8 100644 --- a/coordinator/internal/logic/submitproof/proof_receiver.go +++ b/coordinator/internal/logic/submitproof/proof_receiver.go @@ -225,11 +225,11 @@ func (m *ProofReceiverLogic) checkAreAllChunkProofsReady(ctx context.Context, ch if err != nil { return err } - allReady, err := m.chunkOrm.CheckIfBatchChunkProofsAreReady(ctx, batch.BatchHash) + already, all ready, err := m.chunkOrm.CheckIfBatchChunkProofsAreReady(ctx, batch.BatchHash) if err != nil { return err } - if allReady { + if already, all ready { err := m.batchOrm.UpdateChunkProofsStatusByBatchHash(ctx, batch.BatchHash, types.ChunkProofsStatusReady) if err != nil { return err From 50986f8f832a7da07c9924c5374dd76325015bbd Mon Sep 17 00:00:00 2001 From: King Date: Sun, 2 Feb 2025 23:04:10 +0100 Subject: [PATCH 2/3] Fix typos in common/utils/rpc_test.go --- common/utils/rpc_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/utils/rpc_test.go b/common/utils/rpc_test.go index a23b592f0d..43ef5ee0cb 100644 --- a/common/utils/rpc_test.go +++ b/common/utils/rpc_test.go @@ -1,7 +1,7 @@ package utils import ( - "compress/flate" + "compress/flat" "context" "testing" @@ -60,7 +60,7 @@ func TestStartWSEndpoint(t *testing.T) { Namespace: "test", Service: new(testService), }, - }, flate.NoCompression) + }, flat.NoCompression) assert.NoError(t, err) defer handler.Shutdown(context.Background()) From bd1361d2ee81cd1152d3dc3e7795a182d1d09e39 Mon Sep 17 00:00:00 2001 From: King Date: Sun, 2 Feb 2025 23:04:12 +0100 Subject: [PATCH 3/3] Fix typos in common/testcontainers/testcontainers.go --- common/testcontainers/testcontainers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/testcontainers/testcontainers.go b/common/testcontainers/testcontainers.go index c1c55480bb..24b12f8c86 100644 --- a/common/testcontainers/testcontainers.go +++ b/common/testcontainers/testcontainers.go @@ -159,11 +159,11 @@ func (t *TestcontainerApps) GetPoSL1EndPoint() (string, error) { if t.poSL1Container == nil { return "", errors.New("PoS L1 container is not running") } - contrainer, err := t.poSL1Container.ServiceContainer(context.Background(), "geth") + container, constrained, err := t.poSL1Container.ServiceContainer(context.Background(), "geth") if err != nil { return "", err } - return contrainer.PortEndpoint(context.Background(), "8545/tcp", "http") + return container, constrained.PortEndpoint(context.Background(), "8545/tcp", "http") } // GetPoSL1Client returns a ethclient by dialing running PoS L1 client