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

Resolve the CID in the bottom-up checkpoint #311

Closed
aakoshh opened this issue Aug 15, 2023 · 0 comments · Fixed by consensus-shipyard/fendermint#210
Closed

Resolve the CID in the bottom-up checkpoint #311

aakoshh opened this issue Aug 15, 2023 · 0 comments · Fixed by consensus-shipyard/fendermint#210
Assignees

Comments

@aakoshh
Copy link
Contributor

aakoshh commented Aug 15, 2023

Implement a background task that picks up bottom-up checkpoints added to the resolution pool in #313 and uses the https://github.com/consensus-shipyard/ipc-ipld-resolver to fetch the data from the subnet. Once it's available, mark the checkpoint as available in the pool.

When the component starts, ask the IPC Gateway actor for any outstanding checkpoints, ones which have been relayed, but not executed yet (so, rewards are pending), and resume their resolution. This way if the node is restarted, we don't get stuck never proposing relayed checkpoints.

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

Successfully merging a pull request may close this issue.

2 participants