Skip to content

Conversation

@tanmay4l
Copy link

#100 the node was crashing whenever the RPC call to get the leader for a slot failed.
this could happen due to network hiccups or temporary RPC provider issues.

added exponential backoff retry logic (10 attempts, max 4.5s) that only panics
if all retries fail. This way we tolerate transient failures while still
maintaining validation integrity.

also refactored to use an interface for the RPC client, which makes testing
easier. Added unit tests with mocks and integration tests to verify the
retry behavior works correctly.

@rupansh rupansh requested a review from smcio December 13, 2025 07:23
@rupansh rupansh removed the request for review from smcio December 16, 2025 11:57
@rupansh rupansh self-assigned this Dec 16, 2025
@tanmay4l tanmay4l requested a review from rupansh December 16, 2025 17:02
@rupansh rupansh assigned tanmay4l and unassigned rupansh Dec 16, 2025
@tanmay4l tanmay4l requested a review from rupansh December 17, 2025 05:49
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.

3 participants