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
commit 0ec2acbf20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: