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

Add tests for saving light client updates #14717

Merged
merged 10 commits into from
Dec 18, 2024

Conversation

Inspector-Butters
Copy link
Contributor

What type of PR is this?
Other

What does this PR do? Why is it needed?
This PR adds more comprehensive tests for the function saveLightClientUpdate in beacon-chain/blockchain/process_block_helpers.go
Specifically adds tests for:

  • when old update is in DB and new update is better
  • when old update is in DB and old update is better

Which issues(s) does this PR fix?
This PR is needed as part of #12991

Inspector-Butters and others added 6 commits December 12, 2024 17:18
@rkapka rkapka enabled auto-merge December 18, 2024 08:08
@rkapka rkapka added this pull request to the merge queue Dec 18, 2024
Merged via the queue into prysmaticlabs:develop with commit 4bb0b44 Dec 18, 2024
14 of 15 checks passed
@Inspector-Butters Inspector-Butters deleted the save-lc-test branch December 18, 2024 13:58
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.

None yet

2 participants