From 4c63dfb22f05c563b55b8f5b0e50730b4855c0b7 Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Sat, 30 Mar 2024 16:42:19 -0500 Subject: [PATCH] log line fixes --- bold | 2 +- validator/server_arb/execution_run.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bold b/bold index 0b4a9f682b..c4d3d2a27e 160000 --- a/bold +++ b/bold @@ -1 +1 @@ -Subproject commit 0b4a9f682b6ab08c4863275dc37a8a44dbfb935e +Subproject commit c4d3d2a27ef399c32f5f65209cb0bb6cf451fa45 diff --git a/validator/server_arb/execution_run.go b/validator/server_arb/execution_run.go index f652cf8745..be15b0d983 100644 --- a/validator/server_arb/execution_run.go +++ b/validator/server_arb/execution_run.go @@ -75,14 +75,14 @@ func (e *executionRun) GetLeavesWithStepSize(fromBatch, machineStartIndex, stepS if err != nil { return nil, err } - log.Info(fmt.Sprintf("Advanced machine to index %d, beginning hash computation", machineStartIndex)) + log.Debug(fmt.Sprintf("Advanced machine to index %d, beginning hash computation", machineStartIndex)) // If the machine is starting at index 0, we always want to start at the "Machine finished" global state status // to align with the state roots that the inbox machine will produce. var stateRoots []common.Hash if machineStartIndex == 0 { gs := machine.GetGlobalState() - log.Info(fmt.Sprintf("Start global state for machine index 0: %+v", gs), log.Ctx{ + log.Debug(fmt.Sprintf("Start global state for machine index 0: %+v", gs), log.Ctx{ "fromBatch": fromBatch, }) hash := crypto.Keccak256Hash([]byte("Machine finished:"), gs.Hash().Bytes()) @@ -116,7 +116,7 @@ func (e *executionRun) GetLeavesWithStepSize(fromBatch, machineStartIndex, stepS progressPercent := (float64(numIterations+1) / float64(numDesiredLeaves)) * 100 log.Info( fmt.Sprintf( - "Subchallenge machine hash progress: %.2f%% - %d of %d leaves computed", + "Computing subchallenge progress: %.2f%% - %d of %d hashes needed", progressPercent, numIterations+1, numDesiredLeaves, @@ -153,7 +153,7 @@ func (e *executionRun) GetLeavesWithStepSize(fromBatch, machineStartIndex, stepS } log.Info( - "Machine finished execution, gathered all the necessary hashes", + "Successfully finished computing the data needed for opening a subchallenge", log.Ctx{ "fromBatch": fromBatch, "stepSize": stepSize,