From 7c1140fbaca9387341cd69dafceaa39c7377af63 Mon Sep 17 00:00:00 2001 From: Pepper Lebeck-Jobe Date: Tue, 19 Nov 2024 13:37:11 +0100 Subject: [PATCH] Update the bold pin and remove some logging --- bold | 2 +- staker/bold/bold_state_provider.go | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/bold b/bold index ece8f7a0cf..0dd25bff8e 160000 --- a/bold +++ b/bold @@ -1 +1 @@ -Subproject commit ece8f7a0cf26caa6525f32aa409df48b5f572fbd +Subproject commit 0dd25bff8e8a39f8361201ddf67aa0c45d482028 diff --git a/staker/bold/bold_state_provider.go b/staker/bold/bold_state_provider.go index 83051c0cb3..6e6a99646d 100644 --- a/staker/bold/bold_state_provider.go +++ b/staker/bold/bold_state_provider.go @@ -256,12 +256,6 @@ func (s *BOLDStateProvider) StatesInBatchRange( posInBatch++ } } - fmt.Printf("got states from batch %v pos %v up to batch %v height %v\n", fromState.Batch, fromState.PosInBatch, batchLimit, toHeight) - println("----- states -----") - for i, state := range states { - fmt.Printf("batch %v pos %v hash %v\n", state.Batch, state.PosInBatch, machineHashes[i]) - } - println("------------------") return machineHashes, states, nil } @@ -402,12 +396,6 @@ func (s *BOLDStateProvider) CollectMachineHashes( return nil, err } log.Info(fmt.Sprintf("Finished gathering machine hashes for request %+v", cfg)) - fmt.Printf("got machine hashes from message num %v start index %v step size %v desired hashes %v\n", messageNum, cfg.MachineStartIndex, cfg.StepSize, cfg.NumDesiredHashes) - println("----- hashes -----") - for i, h := range result { - fmt.Printf("index %v hash %v\n", i, h) - } - println("------------------") // Do not save a history commitment of length 1 to the cache. if len(result) > 1 && s.historyCache != nil { if err := s.historyCache.Put(cacheKey, result); err != nil {