nethermind icon indicating copy to clipboard operation
nethermind copied to clipboard

Fix/arg out of range SnapProvider.AddAccountRange

Open ak88 opened this issue 1 year ago • 0 comments

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?

  • [x] 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

ak88 avatar May 22 '24 11:05 ak88