Skip to content

Conversation

@TanmayDhobale
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.

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