From 5453a2f4428b7911b6cc197257adcb4da8fd4705 Mon Sep 17 00:00:00 2001 From: keruch Date: Wed, 16 Oct 2024 15:50:50 +0200 Subject: [PATCH] threads 1 --- block/produce.go | 8 -------- p2p/client_test.go | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/block/produce.go b/block/produce.go index 599b72ad..99a00e85 100644 --- a/block/produce.go +++ b/block/produce.go @@ -94,14 +94,6 @@ func (m *Manager) ProduceBlockLoop(ctx context.Context, bytesProducedC chan int) } } -// nextProposerInfo holds information about the next proposer. -type nextProposerInfo struct { - // nextProposerHash is a tendermint-compatible hash of the sequencer. - nextProposerHash [32]byte - // nextProposerAddr is a sequencer's settlement address. - nextProposerAddr string -} - // ProduceApplyGossipLastBlock produces and applies a block with the given nextProposerHash. func (m *Manager) ProduceApplyGossipLastBlock(ctx context.Context, nextProposerHash [32]byte) (err error) { _, _, err = m.produceApplyGossip(ctx, true, &nextProposerHash) diff --git a/p2p/client_test.go b/p2p/client_test.go index fcf2ab29..41661f5d 100644 --- a/p2p/client_test.go +++ b/p2p/client_test.go @@ -51,6 +51,7 @@ func TestClientStartup(t *testing.T) { } // TestBootstrapping TODO: this test is flaky in main. Try running it 100 times to reproduce. +// https://github.com/dymensionxyz/dymint/issues/869 func TestBootstrapping(t *testing.T) { assert := assert.New(t) logger := log.TestingLogger()