Skip to content

Commit

Permalink
txpool: don't panic on BlobHashCheckFail
Browse files Browse the repository at this point in the history
  • Loading branch information
somnathb1 committed Mar 6, 2025
1 parent 2d28f59 commit dddc31c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions txnprovider/txpool/txpoolcfg/txpoolcfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ func (r DiscardReason) String() string {
return "EIP-7702 transactions with an empty authorization list are invalid"
case GasLimitTooHigh:
return "gas limit is too high"
case BlobHashCheckFail:
return "KZGcommitment's versioned hash has to be equal to blob_versioned_hash at the same index"
default:
panic(fmt.Sprintf("discard reason: %d", r))
}
Expand Down

0 comments on commit dddc31c

Please sign in to comment.