Merge pull request #10652 from filecoin-project/asr/mpool-fee-too-low

feat: pubsub: treat ErrGasFeeCapTooLow as ignore, not reject
This commit is contained in:
Aayush Rajasekaran
2023-05-29 12:53:38 -04:00
committed by GitHub
+2
View File
@@ -358,6 +358,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: