From 89b4cb5c9b99f95912670acad354f6f452c433df Mon Sep 17 00:00:00 2001 From: Pepper Lebeck-Jobe Date: Wed, 27 Nov 2024 08:59:55 +0100 Subject: [PATCH 1/4] Update bold repo pin to main --- bold | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bold b/bold index 9bc97907ce..7f3b9eb79a 160000 --- a/bold +++ b/bold @@ -1 +1 @@ -Subproject commit 9bc97907cef8d8123bf46753ed913d51fddf0c0b +Subproject commit 7f3b9eb79a07f5644b39f2f3a41053cf68071657 From 6608888b8d4304bb8f4ce89215a843f5856b6981 Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Wed, 27 Nov 2024 14:17:29 -0600 Subject: [PATCH 2/4] remove nil opts from validation node creation --- cmd/nitro/nitro.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/nitro/nitro.go b/cmd/nitro/nitro.go index 8c3b6a3d92..71457a86e2 100644 --- a/cmd/nitro/nitro.go +++ b/cmd/nitro/nitro.go @@ -518,7 +518,6 @@ func mainImpl() int { func() *valnode.Config { return &liveNodeConfig.Get().Validation }, stack, fatalErrChan, - nil, ) if err != nil { valNode = nil From 5cec6a7b363853e355f717b327159405e97f97c8 Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Wed, 27 Nov 2024 14:17:46 -0600 Subject: [PATCH 3/4] remove nil opts from validation node creation --- cmd/nitro-val/nitro_val.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/nitro-val/nitro_val.go b/cmd/nitro-val/nitro_val.go index b5a3d823ab..3ff859c302 100644 --- a/cmd/nitro-val/nitro_val.go +++ b/cmd/nitro-val/nitro_val.go @@ -135,7 +135,6 @@ func mainImpl() int { func() *valnode.Config { return &liveNodeConfig.Get().Validation }, stack, fatalErrChan, - nil, ) if err != nil { log.Error("couldn't init validation node", "err", err) From 0e6e2a8df0c058af08f391c84d402787c8614d6a Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Wed, 27 Nov 2024 14:20:43 -0600 Subject: [PATCH 4/4] rem print --- staker/bold/bold_state_provider.go | 1 - 1 file changed, 1 deletion(-) diff --git a/staker/bold/bold_state_provider.go b/staker/bold/bold_state_provider.go index 9707d09967..76ab6314fb 100644 --- a/staker/bold/bold_state_provider.go +++ b/staker/bold/bold_state_provider.go @@ -148,7 +148,6 @@ func (s *BOLDStateProvider) ExecutionStateAfterPreviousState( return nil, err } executionState.EndHistoryRoot = historyCommit.Merkle - fmt.Printf("ExecutionStateAfterPreviousState for previous state batch %v pos %v got end batch %v pos %v last leaf %v hash %v\n", previousGlobalState.Batch, previousGlobalState.PosInBatch, executionState.GlobalState.Batch, executionState.GlobalState.PosInBatch, historyCommitStates[len(historyCommitStates)-1], executionState.EndHistoryRoot) return executionState, nil }