From 22bb4212850f38a066db34a8f59241937bed0efe Mon Sep 17 00:00:00 2001 From: Sergi Rene Date: Fri, 18 Oct 2024 10:41:39 +0200 Subject: [PATCH] comment added --- block/state.go | 1 + 1 file changed, 1 insertion(+) diff --git a/block/state.go b/block/state.go index f19ec108d..a500eb998 100644 --- a/block/state.go +++ b/block/state.go @@ -112,6 +112,7 @@ func (e *Executor) UpdateStateAfterInitChain(s *types.State, res *abci.ResponseI // We update the last results hash with the empty hash, to conform with RFC-6962. copy(s.LastResultsHash[:], merkle.HashFromByteSlices(nil)) + // we init the last submitted block time, to be able go calculate max skew time before first batch is submitted s.SetLastSubmittedBlockTime(time.Now()) }