Skip to content

Commit 9d719fc

Browse files
committed
core: remove check in BlockValidator
1 parent 93be9e4 commit 9d719fc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

core/block_validator.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,8 @@ func (v *BlockValidator) ValidateBody(block *types.Block) error {
8686
}
8787

8888
// Blob transactions may be present after the Cancun fork.
89-
isOsaka := v.config.IsOsaka(block.Number(), block.Time())
9089
var blobs int
9190
for i, tx := range block.Transactions() {
92-
if isOsaka && len(tx.BlobHashes()) > params.BlobTxMaxBlobs {
93-
return ErrTooManyBlobs
94-
}
95-
9691
// Count the number of blobs to validate against the header's blobGasUsed
9792
blobs += len(tx.BlobHashes())
9893

0 commit comments

Comments
 (0)