From df3328b91734557d79876a5acc28b1007bf4f9f4 Mon Sep 17 00:00:00 2001 From: Callum Waters Date: Fri, 19 Apr 2024 11:25:54 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Rootul P --- consensus/byzantine_test.go | 2 +- state/execution.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/consensus/byzantine_test.go b/consensus/byzantine_test.go index 233e34f055..83c8eb7561 100644 --- a/consensus/byzantine_test.go +++ b/consensus/byzantine_test.go @@ -466,7 +466,7 @@ func TestByzantineConflictingProposalsWithPartition(t *testing.T) { case <-tick.C: for i := range reactors { t.Logf(fmt.Sprintf("Consensus Reactor %v", i)) - t.Logf(fmt.Sprintf("%v", css[i].GetRoundState())) + t.Logf(fmt.Sprintf("round state: %v", css[i].GetRoundState())) } t.Fatalf("Timed out waiting for all validators to commit first block") } diff --git a/state/execution.go b/state/execution.go index fd0ba81f17..56bdc7c742 100644 --- a/state/execution.go +++ b/state/execution.go @@ -166,7 +166,7 @@ func (blockExec *BlockExecutor) ProcessProposal( // Similar to PrepareProposal, the last transaction provided to Celestia // in ProcessProposal is the data hash. The data hash needs to be passed to - // the application so that is can be verified against the nodes own construction + // the application so that it can be verified against the nodes own construction // of the data square txs := append(block.Data.Txs.ToSliceOfBytes(), block.DataHash)