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

consensus/bor: fetch validator set using parent hash #1384

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

manav2401
Copy link
Contributor

When fetch validators from child chain contract, rpc.LatestNumber was used to make the eth_call request. This PR replaces it with using header.ParentHash so that the state being used while making the call belongs to the same fork as the block being imported and checked for.

@manav2401 manav2401 requested a review from a team December 10, 2024 15:51
@manav2401 manav2401 merged commit e1f6d25 into develop Dec 11, 2024
11 checks passed
@manav2401 manav2401 deleted the manav/fix-invalid-validator-set branch December 11, 2024 08:15
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.

3 participants