-
Notifications
You must be signed in to change notification settings - Fork 39
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
Endpoints to read from parent state #476
Labels
Comments
adlrocha
changed the title
Endpoints to read from parent state
Endpoints to pull/push from parent state
Feb 16, 2023
adlrocha
changed the title
Endpoints to pull/push from parent state
Endpoints to read from parent state
Feb 16, 2023
This was referenced Feb 16, 2023
This has been implemented, we are pending an end-to-end check to double-check that reading the membership information for Mir from the subnet actor in the parent works fine. We will close this issue then. |
5 tasks
I understand this is still pending the end-to-end check? |
Oh, no. This is finished, and the integration works. It is used by subnet validator to mine new blocks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related: consensus-shipyard/lotus#21
Background
An eudico node running in a child subnet will need to read state and listen to events from its parent's subnet for its operation. In order to decouple completely the child subnet from the specific implementation of its parent blockchain, the child subnet node relies on the IPC agent to pull the required information from its parent state. The IPC agent will have to provide a set of endpoints in its jsonrpc server to serve these requests to child subnet nodes.
Some of the operations that require reading state from the parent blockchain are:
Implementation
Initially, we can implement this jsonrpc methods so that is Eudico the one that polls the IPC agent to pull information from the parent. Alternatively, we could consider adding also some endpoint in Eudico to support pushing information from the IPC agent to Eudico. This would require all subnet SMR systems to support this method in order to be able to run IPC.
The text was updated successfully, but these errors were encountered: