feat: pubsub: treat ErrGasFeeCapTooLow as ignore, not reject

This commit is contained in:
Aayush committed 2023-04-11 10:26:43 -04:00
1 parent da6b565dc1
commit ae84f335cc
1 file changed
+2
+2
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: