Skip to content
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

Truth layer cache latest N block for relayer to verify message #131

Open
hujw77 opened this issue Jan 21, 2022 · 0 comments
Open

Truth layer cache latest N block for relayer to verify message #131

hujw77 opened this issue Jan 21, 2022 · 0 comments
Assignees

Comments

@hujw77
Copy link
Collaborator

hujw77 commented Jan 21, 2022

issue

... 4 5 6 7 8 9 
...   A   B   C               

If user send a message in block A, a relayer relay the message at block B, when light client import block C.
The relayer should refresh the proof to block C.

solution

Light client could cache latest N block for relayer to verify old message.

BUT, message layer only accept the newest state to apply, so only verify the newest block at light client may be better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant