@gearbox-protocol/periphery-v3 1.3.18 → 1.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -547,9 +547,8 @@ contract DataCompressorV3 is IDataCompressorV3, ContractsRegisterTrait, LinearIn
|
|
|
547
547
|
TokenBalance memory balance = balances[i];
|
|
548
548
|
|
|
549
549
|
if (balance.balance > 1 && balance.isEnabled) {
|
|
550
|
-
try
|
|
551
|
-
|
|
552
|
-
) {} catch {
|
|
550
|
+
try priceOracle.getPrice(balance.token) returns (uint256) {}
|
|
551
|
+
catch {
|
|
553
552
|
if (op == QUERY) priceFeedFailed[index] = balance.token;
|
|
554
553
|
++index;
|
|
555
554
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/periphery-v3",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.19",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": "git@github.com:Gearbox-protocol/periphery-v3.git",
|
|
6
6
|
"author": "Mikael <26343374+0xmikko@users.noreply.github.com>",
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
"@gearbox-protocol/integrations-v3": "^1.23.1",
|
|
23
23
|
"@gearbox-protocol/oracles-v3": "^1.8.1",
|
|
24
24
|
"@gearbox-protocol/sdk-gov": "^1.14.0",
|
|
25
|
-
"@openzeppelin/contracts": "^4.9.3"
|
|
25
|
+
"@openzeppelin/contracts": "^4.9.3",
|
|
26
|
+
"ds-test": "dapphub/ds-test",
|
|
27
|
+
"forge-std": "foundry-rs/forge-std"
|
|
26
28
|
},
|
|
27
29
|
"dependencies": {
|
|
28
30
|
"husky": "^8.0.3",
|