From 6ed068273bb69df3996b7fd927d3074ecf2bdaed Mon Sep 17 00:00:00 2001 From: AnkushinDaniil Date: Thu, 21 Nov 2024 13:07:34 +0700 Subject: [PATCH] Update comment --- core/block.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/block.go b/core/block.go index 10970d4e03..0dd7bc38e1 100644 --- a/core/block.go +++ b/core/block.go @@ -242,7 +242,8 @@ func Post0132Hash(b *Block, stateDiff *StateDiff) (*felt.Felt, *BlockCommitments concatCounts := concatCounts(b.TransactionCount, b.EventCount, sdLength, b.L1DAMode) - // temporary hack + // These values are nil for some pre 0.13.2 blocks + // `crypto.PoseidonArray` panics if any of the values are nil seqAddr := &felt.Zero gasPriceStrk := &felt.Zero l1DataGasPricrInWei := &felt.Zero