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

Allow catchpoints from the exact target round #167

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

jasonpaulos
Copy link
Contributor

@jasonpaulos jasonpaulos commented Apr 18, 2024

Summary

algorand/go-algorand#5352 has been fixed by algorand/go-algorand#5798, and this PR undoes the workaround needed because of the original issue.

The original issue was that, if algod does fast catchup to round X, algod's REST API could not serve block X, since fast catchup did not also include block certificates. To work around this, conduit had to limit catchpoints to rounds < X, but now with this fixed in algod, the catchpoint round can be <= X.

Test Plan

New unit test cases added

@jasonpaulos jasonpaulos marked this pull request as ready for review April 24, 2024 21:32
@jasonpaulos
Copy link
Contributor Author

Manually tested this change with a follower node and fast catchup, and I can confirm it worked as expected

@jasonpaulos jasonpaulos merged commit 5ae5acb into master Apr 26, 2024
3 checks passed
@jasonpaulos jasonpaulos deleted the catchpoint-exact-target-round-fix branch April 26, 2024 14:45
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 this pull request may close these issues.

2 participants