feat: pubsub: treat ErrGasFeeCapTooLow as ignore, not reject

This commit is contained in:
Aayush 2023-04-11 10:26:43 -04:00
parent da6b565dc1
commit ae84f335cc

View File

@ -377,6 +377,8 @@ func (mv *MessageValidator) Validate(ctx context.Context, pid peer.ID, msg *pubs
fallthrough
case xerrors.Is(err, messagepool.ErrNonceGap):
fallthrough
case xerrors.Is(err, messagepool.ErrGasFeeCapTooLow):
fallthrough
case xerrors.Is(err, messagepool.ErrNonceTooLow):
return pubsub.ValidationIgnore
default: