@eclesia/indexer-engine 2.5.5 → 2.5.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/indexer/index.js +2 -2
- package/dist/utils/text.js +1 -1
- package/package.json +1 -1
package/dist/indexer/index.js
CHANGED
|
@@ -459,7 +459,7 @@ class EcleciaIndexer extends emitter_1.EclesiaEmitter {
|
|
|
459
459
|
}
|
|
460
460
|
async callABCI(path, data, height, adHoc = true) {
|
|
461
461
|
const timeout = new Promise((resolve) => {
|
|
462
|
-
setTimeout(resolve,
|
|
462
|
+
setTimeout(resolve, 30000);
|
|
463
463
|
});
|
|
464
464
|
const abciq = await Promise.race([
|
|
465
465
|
(adHoc ? this.client : this.blockClient).abciQuery({
|
|
@@ -497,7 +497,7 @@ class EcleciaIndexer extends emitter_1.EclesiaEmitter {
|
|
|
497
497
|
this.blockQueue.enqueue(Promise.all([
|
|
498
498
|
this.client.block(height),
|
|
499
499
|
this.client.blockResults(height),
|
|
500
|
-
this.callABCI("/cosmos.staking.v1beta1.Query/Validators", vals, height)
|
|
500
|
+
this.callABCI("/cosmos.staking.v1beta1.Query/Validators", vals, height, false)
|
|
501
501
|
]).catch((e) => {
|
|
502
502
|
this.log.error("Error fetching block: " + height + " : " + e);
|
|
503
503
|
return Promise.resolve([]);
|
package/dist/utils/text.js
CHANGED