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/arg out of range SnapProvider.AddAccountRange #7060

Merged
merged 9 commits into from
May 29, 2024

Conversation

ak88
Copy link
Contributor

@ak88 ak88 commented May 22, 2024

Fixes #7033

Changes

SnapProvider.AddAccountRange will now throw in case of empty account list , and
AddAccountRange(AccountRange request, AccountsAndProofs response) will return ExpiredRootHash in case of empty account list.

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a change that causes existing functionality not to work as expected)
  • Optimization
  • Refactoring
  • Documentation update
  • Build-related changes
  • Other: Description

…oviderTests.cs

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>
@ak88 ak88 requested a review from asdacap May 23, 2024 08:34
@ak88 ak88 marked this pull request as ready for review May 23, 2024 09:00
@ak88 ak88 merged commit a61df04 into master May 29, 2024
68 checks passed
@ak88 ak88 deleted the fix/arg-out-of-range-snapsync branch May 29, 2024 10:30
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.

[Holesky] ArgumentOutOfRangeException during sync
4 participants