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

Make Submit function async #8

Open
tzdybal opened this issue Sep 22, 2023 · 0 comments
Open

Make Submit function async #8

tzdybal opened this issue Sep 22, 2023 · 0 comments

Comments

@tzdybal
Copy link
Member

tzdybal commented Sep 22, 2023

Currently, our Submit function is async in Rollkit. An option to do that here would be to decouple the inclusion proof generation from the response of the submission.

The flow could be Submit -> get commitment as a response ( can be generated deterministically) and would be an instant response
Then something like getProof(ID) to get the proof which might happen Blocks (minutes) into the future

This would be the current interaction with celestias blob module.

Either way, I think we should merge this and then make changes afterwards , as is does not have to be perfect from the start and we can expect to break the API.

Originally posted by @nashqueue in #1 (comment)

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