Skip to content

fix: limit operator strikes - #884

Open
vgorkavenko wants to merge 1 commit into
phase-2from
fix/remove-strikes-by-intervals
Open

fix: limit operator strikes#884
vgorkavenko wants to merge 1 commit into
phase-2from
fix/remove-strikes-by-intervals

Conversation

@vgorkavenko

Copy link
Copy Markdown
Contributor

Description

Fix too much expired strikes to remove

Checklist

  • Appropriate PR labels applied
  • Test coverage maintained (just coverage)
    • Tests are added/updated
  • Documentation maintained
    • No need to update

@vgorkavenko
vgorkavenko requested a review from a team as a code owner September 9, 2026 09:12
@vgorkavenko vgorkavenko added the fix label Sep 9, 2026
@vgorkavenko
vgorkavenko requested a review from dgusakov September 9, 2026 09:12
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-09T09:16:06.630777Z 0757e3f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0757e3f37b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/interfaces/INodeOperatorStrikes.sol Outdated
@vgorkavenko
vgorkavenko force-pushed the fix/remove-strikes-by-intervals branch from 0757e3f to 90238c2 Compare September 9, 2026 15:40
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vgorkavenko vgorkavenko changed the title fix: remove operator strikes by cursor fix: limit operator strikes Sep 9, 2026

OperatorStrikes storage rec = _storage().operatorStrikes[input.nodeOperatorId];
uint256 previousCount = rec.activeIds.length;
if (previousCount >= MAX_ACTIVE_STRIKES) revert MaxActiveStrikesReached();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just 'eq' should be enough?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants