core/txpool: use protocol-defined max blobs limit

This commit is contained in:
Felix Lange 2025-07-20 15:19:11 +02:00
parent 215f402231
commit 93be9e409e

View file

@ -65,7 +65,7 @@ const (
// carry. We choose a smaller limit than the protocol-permitted MaxBlobsPerBlock // carry. We choose a smaller limit than the protocol-permitted MaxBlobsPerBlock
// in order to ensure network and txpool stability. // in order to ensure network and txpool stability.
// Note: if you increase this, validation will fail on txMaxSize. // Note: if you increase this, validation will fail on txMaxSize.
maxBlobsPerTx = 7 maxBlobsPerTx = params.BlobTxMaxBlobs
// maxTxsPerAccount is the maximum number of blob transactions admitted from // maxTxsPerAccount is the maximum number of blob transactions admitted from
// a single account. The limit is enforced to minimize the DoS potential of // a single account. The limit is enforced to minimize the DoS potential of