@merkl/api 0.20.45 → 0.20.46
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.
@@ -25,7 +25,7 @@ export class MerklRootRepository {
|
|
25
25
|
return [res[0], res[1]];
|
26
26
|
}
|
27
27
|
static async fetch(chainId) {
|
28
|
-
const RPC_CALL_TIMEOUT =
|
28
|
+
const RPC_CALL_TIMEOUT = 10_000;
|
29
29
|
try {
|
30
30
|
// Try fetching the data using a RPC
|
31
31
|
const { live, tree, lastTree, endOfDisputePeriod, disputer } = await withTimeout(DistributorService(chainId).fetchUpdateData(), RPC_CALL_TIMEOUT);
|