Skip to content

DAC: Actors automatically reconnect to Tezos node

Martin Tomazic requested to merge martin@dac_handles_l1_disconnections into master

Context

Follows the idea of !9213 (merged)

Currently, upon L1 disconnection, streaming daemon for monitoring new L1 heads of every DAC actor throws an error which causes a DAC network to stop operating. This MR uses previously defined make_infinite_stream_daemon function, to ensure liveness of the DAC network.

Manually testing the MR

dune exec tezt/tests/main.exe -- --file dac.ml --test "Alpha: Testing Full DAC infrastructure (test DAC disconnects from L1)" --verbose

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Martin Tomazic

Merge request reports