Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(proxyd): add config to skip is syncing check #224

Merged
merged 3 commits into from
Mar 13, 2025

Conversation

hmvien
Copy link
Contributor

@hmvien hmvien commented Mar 7, 2025

Description

I'm using proxyd as a generalize purpose consensus aware LB for nodes. In some configuration, checking for the eth_syncing state of the node is not ideal. For instance, for Orbit's nitro nodes, it is more important to have an active sequencer feed for the nodes than to check for the sync state between the node and the parent chain. For this use-case, I would like to configure proxyd to disable this check. Ideally I should add specific handling for nitro nodes, but that's probably outside the scope of proxyd.

Tests

I ran proxyd without this config and confirmed syncing state is still checked. I ran proxyd with the config and confirmed syncing state is not checked.

@hmvien hmvien marked this pull request as ready for review March 7, 2025 23:38
@hmvien hmvien requested a review from a team as a code owner March 7, 2025 23:38
@hmvien hmvien requested a review from scharissis March 7, 2025 23:38
@hmvien hmvien changed the title feat: add config to skip is syncing check feat(proxyd): add config to skip is syncing check Mar 7, 2025
Copy link
Contributor

@jelias2 jelias2 left a comment

Choose a reason for hiding this comment

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

Overall LGTM, would you mind adding a test case for this behavior for approving for merge?

@hmvien hmvien requested a review from jelias2 March 12, 2025 23:59
@hmvien
Copy link
Contributor Author

hmvien commented Mar 13, 2025

@jelias2 thanks for reviewing. I added test. Mind taking another look when you get a chance?

@jelias2 jelias2 merged commit c7f8ef9 into ethereum-optimism:main Mar 13, 2025
6 checks passed
@jelias2
Copy link
Contributor

jelias2 commented Mar 13, 2025

Thanks for the contribution Hien! The latest relase: proxyd/v4.14.3 has this feature.

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.

2 participants