-
Notifications
You must be signed in to change notification settings - Fork 43
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
IPC: Reconfiguration and dynamic membership #237
Comments
I think the membership should be relayed to Fendermint as part of top-down checkpoints or transactions, and be "picked up" from the ledger itself. I don't see a need for Fendermint to reach out to the agent in this scenario, if that's what the wording meant.
|
Since Fendermint instances are expected to directly observe their parent, it's also okay if instead of 2-3 relayers we expect validators to add the next top-down transaction to their proposals automatically using |
The advantage of this "parent view" to be a separate process would be that it would be possible to stand up an environment where a Fendermint application doesn't have to be recompiled according to what kind of parent it has, it can be just pointed at a process which knows. That is, an instance of the Agent / parent view that follows Lotus can be launched, or one that follows a Tendermint parent, but the child doesn't need to have the connecting libraries compiled into its binary. I'm okay with this because this is how I imagined relayers would work too, although I wouldn't necessarily cram all of these functions into the agent, but rather a special purpose container whose job is to implement this particular RPC interface. Even now the agent is only prepared to speak to Lotus. At the very least it should have its own RPC client that doesn't assume more about its functions than the operations necessary to decide when something is final, and to pick up top-down transactions in general. |
Update to the designWe almost have the mechanics of moving the membership information top-down through the
Finally, in order for validators to be able to interact with each other they will have to add the following to their Tendermint configuration:
References
|
Being tackled in #305 and its corresponding PR consensus-shipyard/fendermint#272. @aakoshh, feel free to reopen if this is not the case. |
Fendermint should pick up the membership information from the IPC agent (that itself picks it up from the subnet actor in the parent). This information should be use to trigger a reconfiguration when the membership set has changed.
The voting power of each validator should be also determined by the collateral that they have provided for the subnet in the parent (in the same call, the agent also provides this information to Fendermint).
The text was updated successfully, but these errors were encountered: