-
Notifications
You must be signed in to change notification settings - Fork 142
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: cache certificate by height #730
Conversation
Codecov Report
@@ Coverage Diff @@
## main #730 +/- ##
==========================================
- Coverage 83.05% 83.03% -0.02%
==========================================
Files 172 172
Lines 8020 8024 +4
==========================================
+ Hits 6661 6663 +2
- Misses 1043 1044 +1
- Partials 316 317 +1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@themantre
thanks, please resolve request changes.
@amirvalhalla resolved, please check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@themantre
thanks, everything looks good.
Description
This PR implements a more accurate approach to caching the certificate by its height.
It also removes the
height
parameter from theCommitBlock
function, as the certificate already contains theheight
of the committing block.