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

Removed the check for milestoneID in the GetVoteOnHash() #1109

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

VAIBHAVJINDAL3012
Copy link
Contributor

@VAIBHAVJINDAL3012 VAIBHAVJINDAL3012 commented Dec 18, 2023

Description

Removed the check for milestoneID in the GetVoteOnHash() function, in present system there is an extra check which query the authenticity of the milestone being voted by querying the milestoneID from the Heimdall.
It seemed to be an extra check which extra call overhead and sometime also causing delay.

Changes

  • [.] Bugfix (non-breaking change that solves an issue)

Copy link

codecov bot commented Dec 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8b2f024) 56.00% compared to head (dac4c40) 56.00%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1109   +/-   ##
========================================
  Coverage    56.00%   56.00%           
========================================
  Files          658      658           
  Lines       114473   114460   -13     
========================================
- Hits         64108    64107    -1     
+ Misses       46506    46490   -16     
- Partials      3859     3863    +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marcello33
Copy link
Contributor

marcello33 commented Dec 19, 2023

If we need to merge, please @VAIBHAVJINDAL3012 provide a bit more context and remove the [WIP] from the PR title, thanks.

@CitizenSearcher
Copy link

I reported an issue related to this section that is causing block import delays on clients, and may also delay block production on validators.

#1118

@VAIBHAVJINDAL3012 VAIBHAVJINDAL3012 changed the title [WIP] Removed the check for milestoneID in the GetVoteOnHash() Removed the check for milestoneID in the GetVoteOnHash() Jan 10, 2024
@VAIBHAVJINDAL3012 VAIBHAVJINDAL3012 merged commit 20f9295 into develop Jan 10, 2024
14 checks passed
@VAIBHAVJINDAL3012 VAIBHAVJINDAL3012 deleted the POS-2413 branch January 10, 2024 19:25
anshalshukla pushed a commit to erigontech/erigon that referenced this pull request Jan 12, 2024
Removed the check for milestoneID in the GetVoteOnHash()

maticnetwork/bor#1109
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.

5 participants