Skip to content

check for underflow#900

Open
faheelsattar wants to merge 1 commit into
flashbots:developfrom
faheelsattar:fix/delay-underflow
Open

check for underflow#900
faheelsattar wants to merge 1 commit into
flashbots:developfrom
faheelsattar:fix/delay-underflow

Conversation

@faheelsattar
Copy link
Copy Markdown
Collaborator

@faheelsattar faheelsattar commented Apr 27, 2026

📝 Summary

Fix uint64 underflow in timing games target delay. Adds a guard to TargetFirstRequestMs > msIntoSlot which makes the subtraction safe .

⛱ Motivation and Context

This bug was reported by an external contributor. Thanks to them for reporting it.


✅ I have run these commands

  • make lint
  • make test-race
  • go mod tidy

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.

1 participant