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

Expose --force-fallbacks to the CLI #268

Open
ThomasDalla opened this issue Dec 24, 2022 · 1 comment
Open

Expose --force-fallbacks to the CLI #268

ThomasDalla opened this issue Dec 24, 2022 · 1 comment

Comments

@ThomasDalla
Copy link

The rocketpool binary itself supports forcing the use of the fallbacks.

--force-fallbacks
Set this to true if you know the primary EC or CC is offline and want to bypass its health checks, and just use the fallback EC and CC instead

It would be useful to expose that flag to the CLI so that we can run commands using the fallbacks.

For example, currently the latest version of Besu has known compatibility issues with the latest version of the smartnode.
Notably when we try to claim rewards, we get an RPC error:

$  rocketpool node rewards
Could not get node rewards: Requested range exceeds maximum RPC range limit

If we have a fallback using a different EL, we could simply run rocketpool node rewards --force-fallbacks so that it works, but because the flag is not exposed, we cannot.
A workaround is to temporarily switch the primary and fallback endpoints in the config, but it would be more convenient to pass the --force-fallbacks flag when running the command.

Alternatively, on RPC errors, rocketpool could automatically use the fallback node, which could be an even smoother end user experience.

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

No branches or pull requests

2 participants
@ThomasDalla and others