marigold-dev / marigold-dev/deku

Chain stops if nodes' clocks get out of sync

Open
#406 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog
Dominant language
OCaml
Stars
82
Forks
17
PR merge metrics
No merged PRs in 30d

Description

@EduardoRFS and I have discovered in issue during testing where nodes seem to get out of sync with each other and start proposing mutually unsignable blocks, which halts the chain's progress.

We have a hyptothesis that it's related to our main-chain operations - we suspect that operations from Taquito are some how coming out of order.

The bug rarely occurs when using the start script (we suspect this is because the nodes are started at exactly the same time), but seems to occur more frequently if starting the nodes by hand (where the delay between starting each node is longer).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with nodes launched manually at different times, then compare it with the start script. Investigate whether Taquito main-chain operations arrive out of order; done means staggered node startup no longer produces mutually unsignable blocks or halts chain progress.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
blockchain, distributed-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.