refactor(app): route the duty path through ConsensusController - #575
Conversation
|
Claude finished @emlautarom1's task in 5m 18s —— View job Review: route the duty path through
|
emlautarom1
left a comment
There was a problem hiding this comment.
LGTM, the wrapper adds some indirection that makes it harder to understand errors.
I'd also be OK with removing the wrapper entirely now that Pedersen is out of scope: the code should be a lot shorter with no indirections.
|
For the wrapper, I will keep the wrapper since the Pedersen is planned as a second protocol. |
Problem
Charon constructs QBFT through ConsensusController, but Pluto wired QBFT directly.
Fix
Match Charon by constructing consensus through ConsensusController, wiring its default QBFT instance to P2P and its swappable current-consensus wrapper to core.