ava-labs / avalanchego

Go implementation of an Avalanche node.
https://avax.network
BSD 3-Clause "New" or "Revised" License
2.12k stars 669 forks source link

[merkledb] Replace usage of RangeProofs with ChangeProofs #3085

Open joshua-kim opened 3 months ago

joshua-kim commented 3 months ago

RangeProof are a special case of ChangeProof where the diff is from the beginning of time until the current root so we can remove the distinct type to remove a lot of duplicate code about the handling of them.

github-actions[bot] commented 4 weeks ago

This issue has become stale because it has been open 60 days with no activity. Adding the lifecycle/frozen label will cause this issue to ignore lifecycle events.

joshua-kim commented 3 weeks ago

Leaving this in frozen - this is a pretty big change.