ponder 0.8.4 → 0.8.5
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/bin/ponder.js +12 -0
- package/dist/bin/ponder.js.map +1 -1
- package/package.json +1 -1
- package/src/sync-historical/index.ts +16 -0
package/dist/bin/ponder.js
CHANGED
|
@@ -8293,6 +8293,18 @@ var createHistoricalSync = async (args) => {
|
|
|
8293
8293
|
filter.topic2 ?? null,
|
|
8294
8294
|
filter.topic3 ?? null
|
|
8295
8295
|
];
|
|
8296
|
+
if (topics[3] === null) {
|
|
8297
|
+
topics.pop();
|
|
8298
|
+
if (topics[2] === null) {
|
|
8299
|
+
topics.pop();
|
|
8300
|
+
if (topics[1] === null) {
|
|
8301
|
+
topics.pop();
|
|
8302
|
+
if (topics[0] === null) {
|
|
8303
|
+
topics.pop();
|
|
8304
|
+
}
|
|
8305
|
+
}
|
|
8306
|
+
}
|
|
8307
|
+
}
|
|
8296
8308
|
let addressBatches;
|
|
8297
8309
|
if (address === void 0) {
|
|
8298
8310
|
addressBatches = [void 0];
|