@sentio/runtime 2.40.0-rc.34 → 2.40.0-rc.36
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.
@@ -78425,7 +78425,6 @@ function getProvider2(chainId) {
|
|
78425
78425
|
const network = Network.from(parseInt(chainId));
|
78426
78426
|
const address = Endpoints.INSTANCE.chainServer.get(chainId);
|
78427
78427
|
const key = network.chainId.toString() + "-" + address;
|
78428
|
-
console.debug(`init provider for ${chainId}, address: ${address}`);
|
78429
78428
|
let provider = providers.get(key);
|
78430
78429
|
if (provider) {
|
78431
78430
|
return provider;
|
@@ -80208,7 +80207,6 @@ var ProcessorServiceImpl = class {
|
|
80208
80207
|
};
|
80209
80208
|
}
|
80210
80209
|
async preprocessBindings(bindings, preprocessStore, dbContext, options) {
|
80211
|
-
console.debug(`preprocessBindings start, bindings: ${bindings.length}`);
|
80212
80210
|
const promises = [];
|
80213
80211
|
for (const binding of bindings) {
|
80214
80212
|
promises.push(this.preprocessBinding(binding, preprocessStore, dbContext, options));
|
@@ -80292,9 +80290,6 @@ var ProcessorServiceImpl = class {
|
|
80292
80290
|
} catch (e) {
|
80293
80291
|
console.error(`eth call error: ${e}`);
|
80294
80292
|
}
|
80295
|
-
console.debug(
|
80296
|
-
`${Object.keys(results).length} calls finished, actual calls: ${callPromises.length + multicallPromises.length}, elapsed: ${Date.now() - start}ms`
|
80297
|
-
);
|
80298
80293
|
return {
|
80299
80294
|
ethCallResults: results
|
80300
80295
|
};
|
package/lib/index.js
CHANGED
package/lib/processor-runner.js
CHANGED
package/package.json
CHANGED
package/src/provider.ts
CHANGED
@@ -32,7 +32,7 @@ export function getProvider(chainId?: EthChainId): Provider {
|
|
32
32
|
const address = Endpoints.INSTANCE.chainServer.get(chainId)
|
33
33
|
const key = network.chainId.toString() + '-' + address
|
34
34
|
|
35
|
-
console.debug(`init provider for ${chainId}, address: ${address}`)
|
35
|
+
// console.debug(`init provider for ${chainId}, address: ${address}`)
|
36
36
|
let provider = providers.get(key)
|
37
37
|
|
38
38
|
if (provider) {
|
package/src/service.ts
CHANGED
@@ -161,7 +161,7 @@ export class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
161
161
|
dbContext?: StoreContext,
|
162
162
|
options?: CallContext
|
163
163
|
): Promise<PreparedData> {
|
164
|
-
console.debug(`preprocessBindings start, bindings: ${bindings.length}`)
|
164
|
+
// console.debug(`preprocessBindings start, bindings: ${bindings.length}`)
|
165
165
|
const promises = []
|
166
166
|
for (const binding of bindings) {
|
167
167
|
promises.push(this.preprocessBinding(binding, preprocessStore, dbContext, options))
|
@@ -256,9 +256,9 @@ export class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
256
256
|
} catch (e) {
|
257
257
|
console.error(`eth call error: ${e}`)
|
258
258
|
}
|
259
|
-
console.debug(
|
260
|
-
|
261
|
-
)
|
259
|
+
// console.debug(
|
260
|
+
// `${Object.keys(results).length} calls finished, actual calls: ${callPromises.length + multicallPromises.length}, elapsed: ${Date.now() - start}ms`
|
261
|
+
// )
|
262
262
|
return {
|
263
263
|
ethCallResults: results
|
264
264
|
}
|