-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve: Upgrade to sdk-v2 version with optimized caching logic (#1032)
* improve: Upgrade to sdk-v2 version with optimized caching logic Should see speed ups in dataworker by: - reducing time to cache utilization in HubPoolClient - use redis cache for block finder getBlockForTimestamp functions * Update UmaUtils.ts * Update BlockUtils.ts * Update BlockUtils.ts * Update src/common/Config.ts Co-authored-by: James Morris, MS <[email protected]> --------- Co-authored-by: James Morris, MS <[email protected]>
- Loading branch information
1 parent
ed2d435
commit 7fd6494
Showing
6 changed files
with
23 additions
and
35 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
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 |
---|---|---|
|
@@ -60,10 +60,10 @@ | |
"@openzeppelin/contracts" "4.1.0" | ||
"@uma/core" "^2.18.0" | ||
|
||
"@across-protocol/[email protected].4": | ||
version "0.17.4" | ||
resolved "https://registry.yarnpkg.com/@across-protocol/sdk-v2/-/sdk-v2-0.17.4.tgz#595e813b4d1ce6b9f67254e6def3b022007ac62a" | ||
integrity sha512-1PerCY2URknsC99XB2K+0XFdKRwVDeMRM35eksG6HNE+4SjwxioAUn+wWLfZ4PFuESA4Rhg79gNnKdIWPk4jrw== | ||
"@across-protocol/[email protected].7": | ||
version "0.17.7" | ||
resolved "https://registry.yarnpkg.com/@across-protocol/sdk-v2/-/sdk-v2-0.17.7.tgz#b7ae5e047910caf2ccb35b7c32afb319f9b9b36e" | ||
integrity sha512-W2AwPjW95k5o+cSNkezcq4RTDyCN8u6PcUS5xBzCAF0Ed9hNUjS3gxW85gC/bw3fVftbMwmDe2Jk6K/WrX7CEA== | ||
dependencies: | ||
"@across-protocol/across-token" "^1.0.0" | ||
"@across-protocol/constants-v2" "^1.0.4" | ||
|