@sentio/runtime 2.40.0-rc.25 → 2.40.0-rc.27
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.
@@ -59792,8 +59792,7 @@ var _StoreContext = class {
|
|
59792
59792
|
}
|
59793
59793
|
close() {
|
59794
59794
|
for (const [opId, defer] of this.defers) {
|
59795
|
-
|
59796
|
-
defer.reject(new Error("context closed"));
|
59795
|
+
defer.reject(new Error("context closed before db response, processId: " + this.processId + " opId: " + opId));
|
59797
59796
|
}
|
59798
59797
|
this.defers.clear();
|
59799
59798
|
if (this.statsInterval) {
|
@@ -80101,7 +80100,6 @@ var chainToDeploymentMap = Object.fromEntries(
|
|
80101
80100
|
);
|
80102
80101
|
var iface = new Interface(ABI);
|
80103
80102
|
function encodeMulticallData(calls) {
|
80104
|
-
console.log(calls);
|
80105
80103
|
return iface.encodeFunctionData("aggregate", [calls]);
|
80106
80104
|
}
|
80107
80105
|
function decodeMulticallResult(data) {
|
package/lib/index.js
CHANGED
package/lib/processor-runner.js
CHANGED
package/package.json
CHANGED
package/src/db-context.ts
CHANGED
@@ -131,8 +131,8 @@ export class StoreContext {
|
|
131
131
|
|
132
132
|
close() {
|
133
133
|
for (const [opId, defer] of this.defers) {
|
134
|
-
console.warn('context closed before db response', opId)
|
135
|
-
defer.reject(new Error('context closed'))
|
134
|
+
// console.warn('context closed before db response', opId)
|
135
|
+
defer.reject(new Error('context closed before db response, processId: ' + this.processId + ' opId: ' + opId))
|
136
136
|
}
|
137
137
|
this.defers.clear()
|
138
138
|
if (this.statsInterval) {
|
package/src/multicall.ts
CHANGED