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

Fix NonFinalizedTree::finality_checkpoints and add caches #1127

Merged
merged 7 commits into from
Sep 8, 2023

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Sep 8, 2023

Fix #1042

Unfortunately, testing this function is pretty complicated as we would need to include 4096 blocks. Alternatively custom blocks could be passed, but I have no way to easily generate valid blocks with a "custom configuration".

@tomaka tomaka added this pull request to the merge queue Sep 8, 2023
Merged via the queue into smol-dot:main with commit 6411ed1 Sep 8, 2023
21 checks passed
@tomaka tomaka deleted the fix-1042 branch September 8, 2023 16:01
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.

NonFinalizedTree::finality_checkpoints is wrong if there's more than one non-finalized epoch
1 participant