Skip to content

Allow catchpoints from the exact target round#167

Merged
jasonpaulos merged 1 commit intomasterfrom
catchpoint-exact-target-round-fix
Apr 26, 2024
Merged

Allow catchpoints from the exact target round#167
jasonpaulos merged 1 commit intomasterfrom
catchpoint-exact-target-round-fix

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
@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