@gearbox-protocol/sdk 11.6.5 → 11.6.7
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.
- package/dist/cjs/sdk/market/pricefeeds/updates/PythUpdater.js +3 -0
- package/dist/cjs/sdk/market/pricefeeds/updates/RedstoneUpdater.js +3 -0
- package/dist/cjs/sdk/utils/viem/getLogsSafe.js +2 -1
- package/dist/esm/sdk/market/pricefeeds/updates/PythUpdater.js +3 -0
- package/dist/esm/sdk/market/pricefeeds/updates/RedstoneUpdater.js +3 -0
- package/dist/esm/sdk/utils/viem/getLogsSafe.js +2 -1
- package/package.json +1 -1
|
@@ -53,7 +53,8 @@ function tryBisectBlockRange({ fromBlock, toBlock }, e) {
|
|
|
53
53
|
"query exceeds max block",
|
|
54
54
|
"range is too large",
|
|
55
55
|
"eth_getLogs is limited to",
|
|
56
|
-
"eth_getLogs requests with up to"
|
|
56
|
+
"eth_getLogs requests with up to",
|
|
57
|
+
"exceeded max allowed range"
|
|
57
58
|
];
|
|
58
59
|
if (e instanceof Error && blockRangeErrors.some((errorText) => e.message.includes(errorText))) {
|
|
59
60
|
const middle = (fromBlock + toBlock) / 2n;
|
|
@@ -32,7 +32,8 @@ function tryBisectBlockRange({ fromBlock, toBlock }, e) {
|
|
|
32
32
|
"query exceeds max block",
|
|
33
33
|
"range is too large",
|
|
34
34
|
"eth_getLogs is limited to",
|
|
35
|
-
"eth_getLogs requests with up to"
|
|
35
|
+
"eth_getLogs requests with up to",
|
|
36
|
+
"exceeded max allowed range"
|
|
36
37
|
];
|
|
37
38
|
if (e instanceof Error && blockRangeErrors.some((errorText) => e.message.includes(errorText))) {
|
|
38
39
|
const middle = (fromBlock + toBlock) / 2n;
|