informalsystems / hermes-sdk

Apache License 2.0
9 stars 2 forks source link

Sovereign Rollup bootstrap fails #364

Closed rnbguy closed 2 weeks ago

rnbguy commented 3 weeks ago

Summary of Bug

Sometimes, at my machine, the sovereign rollup bootstrap fails. This is mainly because, the sovereign process is not given enough time to start listening to http ports and websockets.

When this happens, adding a two-seconds-sleep at following works at my machine:

https://github.com/informalsystems/hermes-sdk/blob/ed018778694d99c3a2a91c13020944198469f681/crates/sovereign/sovereign-test-components/src/bootstrap/impls/bootstrap_rollup.rs#L88-L93

Version

Steps to Reproduce

It is a flaky behavior.

Acceptance Criteria


For Admin Use

soareschen commented 3 weeks ago

Feel free to submit a PR that wait for longer time after the rollup node is started.