Skip to content

Conversation

@sieniven
Copy link

@sieniven sieniven commented Dec 4, 2025

📝 Summary

This PR resolves the issue found on stress test where if the FCU arrives at just nice target_time-leeway_time, time drift calculated will be zero. This results in during calculate_flashblocks operation, the number of flashblocks to be built to be equal to zero, causing a panic on subsequent gas limit calculation due to a div-zero error.

The PR fixes handling on calculating time drift to additionally check if time drift is > 0.

Context of the issue:
img_v3_00sl_2e02e473-6625-44f5-a1bd-a7d4534266hu

✅ I have completed the following steps:

  • [ ✅ ] Run make lint
  • [✅ ] Run make test
  • Added tests (if applicable)

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