Skip to content

DevNet to attempts for more stable startup of Hyperspace relay #4042

Description

@dzmitry-lahoda

Motivation

For some reason there is some conflict amid DevNet process which break Hyperspace relay amid Picasso Centauri.

Approach is add more split in time and other way to avoid running things too fast or at same time,

Suggested Solution

  1. Needs fix(ibc): clarified connection ids in devnet #4040
  2. Split out Hypersace bash from Process compose so it is more reusable and can be mixed to keep sanity.
  3. Start relaying Picasso Centauri only after Channels for Composable Picasso formed.
  4. Add RPC check to READY probe that Picasso and Composable got at least 5 blocks each (1 minute) produced. So nothing starts on them until.
  5. In case if folder with genesis and data exists any Chain (basically random restarts in case of arbitrary who knows why crashes)
    4.1 WRITE BOLD warning that that this may be bad.
    4.2. do not write Genesis again for Centauri but try run from that. I may be the case that it start scratch and tries to create some things.
    4.3 (no part of this PR). Would be ideal to refactor to start conditionally Zombienet from existing data for same case. But that is harder.
  6. cosmos init fails sometimes because 5 seconds sometimes not enough to wait for nonce, so need to track manuall
    5.1 request latest, than ++ on each call

Alternatives

Not sure, just simly plug timeouts, but timeouts like that never work stably. I never seen that, saw 100 times people tried. I tried once, and found the only fix is to be correct.

Notes

SPLIT it into 2 items.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions