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

Problem: Roller heavily relies on External RPC client #445

Open
VictorTrustyDev opened this issue Aug 25, 2023 · 3 comments
Open

Problem: Roller heavily relies on External RPC client #445

VictorTrustyDev opened this issue Aug 25, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@VictorTrustyDev
Copy link
Contributor

VictorTrustyDev commented Aug 25, 2023

Steps to reproduce it

As you already know, if the roller can not fetch Avai data, the sequencer will be stopped, that means the entire system of RollApp clients will be down. It's single point of failure and that is bad.

Expected result

Sequencer can run standalone during connection issue does it job as normal and when connection restored, it does what it need to do

Actual result

Sequencer: Stopped, Restarting...

RollApp unvailable

rollapp_evm status | jq
# Error: error in json rpc client, with http response metadata: (Status: 503 Service Unavailable, Protocol HTTP/1.1). error unmarshalling: invalid character 'o' in literal null (expecting 'u')

Relevant log output

No response

Notes

No response

@VictorTrustyDev VictorTrustyDev added the bug Something isn't working label Aug 25, 2023
@mtsitrin
Copy link
Contributor

Hi @VictorTrustyDev
The rollapp does continues to work even when DA issues are encountered for a short grace period, but it stops after a while and gets into unhealthy mode.

allowing the rollapp to run without active DA makes little sense, as no security guarantees submitted, and rollapp full nodes can't sync to this state

@VictorTrustyDev
Copy link
Contributor Author

I see, so the DA should load balanced correctly.

I have another question: how long should it take to resolve DA connection issue? Let say 1 day, and Roll App max working time without DA is 6h, so the gap is 18h. Shall we design a better solution for the case?

@mtsitrin
Copy link
Contributor

Connectivity wise,
DA chain is expected to be live with multiple RPC available

In case of blockspace load,
u can set higher gas price to increase the likelihood of the state update to be included

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants