Skip to content

Commit 01efe0d

Browse files
authored
fix: Consider all transactions in chunk hash
1 parent 0f1ad36 commit 01efe0d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

encoding/codecv7_types.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,10 +460,6 @@ func (c *daChunkV7) Hash() (common.Hash, error) {
460460
// concatenate l1 tx hashes
461461
for _, blockTxs := range c.transactions {
462462
for _, txData := range blockTxs {
463-
if txData.Type != types.L1MessageTxType {
464-
continue
465-
}
466-
467463
hashBytes := common.FromHex(txData.TxHash)
468464
if len(hashBytes) != common.HashLength {
469465
return common.Hash{}, fmt.Errorf("unexpected hash: %s", txData.TxHash)

0 commit comments

Comments
 (0)