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

feat(cu): only allow checkpoint with hashchain, assignment id #1165

Open
jfrain99 opened this issue Feb 28, 2025 · 0 comments · May be fixed by #1167
Open

feat(cu): only allow checkpoint with hashchain, assignment id #1165

jfrain99 opened this issue Feb 28, 2025 · 0 comments · May be fixed by #1167

Comments

@jfrain99
Copy link
Contributor

Background

Since hashchain is a recent implementation, many older Arweave checkpoints don't contain the hash chain or the assignment id. When they are absent, the CU simply skips over the hash chain validation. This can lead to sync errors in the CU and messages being evaluated out of order.

Solution

Add an opt-in config variable that disallows using checkpoints missing these values. If a checkpoint missing them is found, skip over it and continue searching.

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

Successfully merging a pull request may close this issue.

1 participant