-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: set roundId to 1 & write to vstorage at start
Use a minimum start time and roundId of 1 because zero is treated as an outlier in the code There are places in the code and tests that compare roundId and round start time to 0 and 1, so make it easier by starting from 1. Refactored some tests, mostly by adding a round before the previous tests to let state get past zero and one. refactor: set roundId to 1 & write to vstorage at start use a minimum start time and roundId of 1 because zero is treated as an outlier in the code There are places in the code and tests that compare roundId and round start time to 0 and 1, so make it easier by starting from 1. Refactored some tests, mostly by adding a round before the previous tests to let state get past zero and one.
- Loading branch information
1 parent
9883fcf
commit 9fcf745
Showing
6 changed files
with
159 additions
and
48 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
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
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
Binary file modified
BIN
+12 Bytes
(100%)
packages/inter-protocol/test/price/snapshots/fluxAggregatorKit.test.js.snap
Binary file not shown.