-
Notifications
You must be signed in to change notification settings - Fork 87
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
Client update based on Beefy protocol #56
Comments
@andynog This is a possible architectural change integrating Beefy light client to substrate-ibc. |
I'm not sure what you mean by "asynchronous". In general, all verification methods should be called synchronously, whenever the IBC module is processing a transaction containing a client update message. Can you expand or detail on the sequence of actions you have in mind? |
Let me try to describe more about the "asynchronous", which may not be accurate under this scenario:
|
A temporary solution for this issue:
|
@adizere the refactor of The |
@livelybug can you confirm that the refactoring in PR informalsystems/hermes#2284 (specifically to the |
this link is break down. |
@DaviRain-Su, that branch has been deleted and superseded by the |
The MMR root update service is integrated into this branch |
Refactoring go test cases to be in json format
In Beefy protocol, there's one data structure, MMR root, "one level higher" than block header. The MMR root of chainA is generated and broadcasted once every N new blocks are generated. After
ChainA
's light client onChainB
receives a tx containing a new MMR root, it will verify the MMR root, and then verify any of the N headers based on the verified MMR root asynchronously.From the architectural perspective, is it a good idea to do the 2 asynchronous verifications in the existing function check_header_and_update_state?
Kindly reply if any comments. thank you.
The text was updated successfully, but these errors were encountered: