-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* first update to handle possible gaps in history * extend tests to cover single gap case * update getRandomSourceHistoryPage and add tests for backfilled pages * add test for non-contiguous gap edge case * enforce minimum source length * add RandomBeaconHistory.Backfiller and integrate with SoR commitment * bump Flow CLI version in CI workflow * simplify the backfilling logic * update gapStartIndex init value * add event for missing and backfilled SoRs * update assets * set and get for the backfiller limit * add a note about the hash output size * reduce calls to the large array length * go generate * move all backfilling logic inside the backfiller resource * move correct index discover to Backfiller resource * add coverage.lcov to .gitignore * re-add early return to optimize common case * rewrap contract comments * update .borrowBackfiller() access & add event test coverage * tests: add non-continuous gaps events check and use backfilling constant * PR review: use array length to compare with empty array and minor changes * make generate * optimize unnecessary function calls * minor optimization --------- Co-authored-by: Giovanni Sanchez <[email protected]>
- Loading branch information
1 parent
ff30979
commit 272df6c
Showing
8 changed files
with
692 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,5 @@ node_modules | |
git | ||
|
||
coverage.json | ||
coverage.lcov | ||
flow.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.