@sentio/runtime 2.40.0-rc.35 → 2.40.0-rc.37
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/lib/chunk-QVFNBTRE.js +131 -0
- package/lib/chunk-QVFNBTRE.js.map +1 -0
- package/lib/index.js +2 -97
- package/lib/index.js.map +1 -0
- package/lib/processor-runner.js +58 -39127
- package/lib/processor-runner.js.map +1 -0
- package/package.json +1 -1
- package/src/provider.ts +1 -1
- package/src/service.ts +4 -4
- package/src/tsup.config.ts +2 -0
- package/lib/chunk-PPRDWL6W.js +0 -80628
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
|
}
|