Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(relayer): Rate-limit invalid fill logs #2063

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pxrl
Copy link
Contributor

@pxrl pxrl commented Feb 7, 2025

No description provided.

if (!acceptInvalidFills && invalidFills.some((fill) => fill.relayer === this.relayerAddress)) {
if (
!acceptInvalidFills &&
this.maintenanceIntervalOpen() &&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 I think you should add this to every single log in this function filterDeposit. Thoughts? This way GCP won't get clogged up with deposits that fail any of these checks

Copy link
Member

@nicholaspai nicholaspai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one suggestion, my intuition could be wrong though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants