-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Consensus] Decoupling the Pacemaker and Consensus modules (Synchronous method) #427
[Consensus] Decoupling the Pacemaker and Consensus modules (Synchronous method) #427
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Took a first pass at this. Let's clean it up a bit and I'll look deeper
@gokutheengineer Also, please make sure this works with LocalNet |
@gokutheengineer Would also appreciate if you could look into Will be easier after I merge my PR in though. |
I am facing with problems running LocalNet, even on fresh clone with the latest main branch. I opened this ticket: #433 So as is, this branch doesn't execute correctly with LocalNet, but first we need to understand if what I am facing with the LocalNet as explained in the ticket is a general issue or not. Only after that diagnosis, and possible fix, I will be able to test with LocalNet. |
Okay, since I presume the merge will happen very soon, I will implement after the merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…ield from pacemaker
Co-authored-by: Daniel Olshansky <[email protected]>
Co-authored-by: Daniel Olshansky <[email protected]>
Co-authored-by: Daniel Olshansky <[email protected]>
Co-authored-by: Daniel Olshansky <[email protected]>
@gokutheengineer Per our discussion offline, here's a video with a bit of an explanation of my approach to merging with main and reviewing PRs: https://drive.google.com/file/d/1wmJHYFt8y-G7uWNur_k7K-D3XzJ4Q6XQ/view?usp=sharing It's a little long (raw and unedited) but hopefully it helps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gokutheengineer I tested this locally, made a few minor NITS (and fixed an unresolved merge conflict) to help get this over the finish line.
Let's MERGE IT IN!
Description
This PR aims to decouple the
consensus
module andpacemaker
module by making thepacemaker
module a submodule of theconsensus
module.In a nutshell, this PR includes and introduces:
Pacemaker
submoduleConsensusPacemaker
interface used by thePacemaker
submoduleIssue
Fixes (partially as intermediate step) #395
Type of change
Please mark the relevant option(s):
List of changes
PaceMakerAccessModule
which is implemented byConsensus
moduleconsensus
module field fromPacemaker
structpacemaker
a separate submodulepacemaker
to access theconsensus
module in a synchronous matter via thePaceMakerAccessModule
interfaceTesting
make develop_test
README
Required Checklist
If Applicable Checklist
shared/docs/*
if I updatedshared/*
README(s)