You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IsDescendantOf can be found in client/api/utils (see code).
LowestCommonAncestor can be found in primitives/blockchain (see code)
Range and RangeInMemory can be implemented by using blockchain.TreeRoute. The constructor NewTreeRoute takes a start and end block hash. We should also remove the usage of RangeInMemory given that all finalized and non-finalized blocks are now in the same db.Backend. So a small refactor to the only external usage in dot/core should be updated to use Range.
These functions should be added to the translation shim since they are used externally from dot/state.
Acceptance Criteria
Implementation of utility functions.
Unit tests.
The text was updated successfully, but these errors were encountered:
Issue Summary
From design doc:
Acceptance Criteria
The text was updated successfully, but these errors were encountered: