feat: pubsub: treat ErrGasFeeCapTooLow as ignore, not reject
This commit is contained in:
parent
da6b565dc1
commit
ae84f335cc
@ -377,6 +377,8 @@ func (mv *MessageValidator) Validate(ctx context.Context, pid peer.ID, msg *pubs
|
|||||||
fallthrough
|
fallthrough
|
||||||
case xerrors.Is(err, messagepool.ErrNonceGap):
|
case xerrors.Is(err, messagepool.ErrNonceGap):
|
||||||
fallthrough
|
fallthrough
|
||||||
|
case xerrors.Is(err, messagepool.ErrGasFeeCapTooLow):
|
||||||
|
fallthrough
|
||||||
case xerrors.Is(err, messagepool.ErrNonceTooLow):
|
case xerrors.Is(err, messagepool.ErrNonceTooLow):
|
||||||
return pubsub.ValidationIgnore
|
return pubsub.ValidationIgnore
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user