@subql/node-ethereum 3.3.5-0 → 3.3.5-poi-logs

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.
Files changed (33) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/ethereum/api.ethereum.js +2 -4
  3. package/dist/ethereum/api.ethereum.js.map +1 -1
  4. package/dist/ethereum/api.ethereum.test.js +0 -15
  5. package/dist/ethereum/api.ethereum.test.js.map +1 -1
  6. package/dist/ethereum/utils.ethereum.d.ts +2 -0
  7. package/dist/ethereum/utils.ethereum.js +2 -1
  8. package/dist/ethereum/utils.ethereum.js.map +1 -1
  9. package/dist/indexer/blockDispatcher/block-dispatcher.service.d.ts +1 -0
  10. package/dist/indexer/blockDispatcher/block-dispatcher.service.js +3 -0
  11. package/dist/indexer/blockDispatcher/block-dispatcher.service.js.map +1 -1
  12. package/dist/indexer/blockDispatcher/ethereum-block-dispatcher.d.ts +2 -1
  13. package/dist/indexer/blockDispatcher/ethereum-block-dispatcher.js.map +1 -1
  14. package/dist/indexer/blockDispatcher/worker-block-dispatcher.service.d.ts +3 -1
  15. package/dist/indexer/blockDispatcher/worker-block-dispatcher.service.js +3 -0
  16. package/dist/indexer/blockDispatcher/worker-block-dispatcher.service.js.map +1 -1
  17. package/dist/indexer/dictionary.service.js +4 -7
  18. package/dist/indexer/dictionary.service.js.map +1 -1
  19. package/dist/indexer/eth-fat-dictionary.service.d.ts +83 -0
  20. package/dist/indexer/eth-fat-dictionary.service.js +246 -0
  21. package/dist/indexer/eth-fat-dictionary.service.js.map +1 -0
  22. package/dist/indexer/fetch.module.js +16 -0
  23. package/dist/indexer/fetch.module.js.map +1 -1
  24. package/dist/indexer/fetch.service.d.ts +4 -3
  25. package/dist/indexer/fetch.service.js +5 -3
  26. package/dist/indexer/fetch.service.js.map +1 -1
  27. package/dist/indexer/fetch.service.spec.js +1 -1
  28. package/dist/indexer/fetch.service.spec.js.map +1 -1
  29. package/dist/yargs.d.ts +232 -1
  30. package/dist/yargs.js +269 -14
  31. package/dist/yargs.js.map +1 -1
  32. package/package.json +6 -7
  33. package/CHANGELOG.md +0 -385
package/CHANGELOG.md DELETED
@@ -1,385 +0,0 @@
1
- # Changelog
2
- All notable changes to this project will be documented in this file.
3
-
4
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
-
7
- ## [Unreleased]
8
- ### Fixed
9
- - `block-confirmations` arg being removed in recent sync with main SDK (#213)
10
-
11
- ## [3.3.4] - 2023-11-16
12
- ### Fixed
13
- - Sync with `node-core` 6.4.2, Fix incorrect enqueuedBlocks, dictionaries timing out by updating `@subql/apollo-links` (#212)
14
-
15
- ## [3.3.3] - 2023-11-13
16
- ### Changed
17
- - Updates to match changes in `@subql/node-core` (#210)
18
- - Dictionary service to use dictionary registry
19
- - Use yargs from node core
20
-
21
- ## [3.3.2] - 2023-11-08
22
- ### Fixed
23
- - Fixed docker build pipeline, release to re-publish docker image(#207)
24
-
25
- ## [3.3.1] - 2023-11-08
26
- ### Fixed
27
- - Getting transaction receipts when accessing via a log handler
28
- - transaction missing from log (#202)
29
-
30
- ## [3.3.0] - 2023-11-06
31
- ### Added
32
- - With `dictionary-query-size` now dictionary can config the query block range
33
-
34
- ### Fixed
35
- - Sync with node-core 6.3.0 with various fixes
36
-
37
- ## [3.1.2] - 2023-11-01
38
- ### Fixed
39
- - Unfinalized blocks not working with Cronos (#193)
40
-
41
- ### Changed
42
- - Update `@subql/node-core` with fixes and support for endBlock feature (#195)
43
-
44
- ## [3.1.1] - 2023-10-25
45
- ### Fixed
46
- - Fix crash when creating new dynamic datasources
47
-
48
- ## [3.1.0] - 2023-10-20
49
- ### Added
50
- - Inject in-memory cache to sandbox
51
-
52
- ### Fixed
53
- - Bump with `@subq/node-core` 3.1.0 , fixed poi migration init check, and improve logging
54
-
55
- ## [3.0.6] - 2023-10-18
56
- ### Fixed
57
- - Update node-core, additional fix for store bulk methods failing with workers
58
-
59
- ## [3.0.5] - 2023-10-17
60
- ### Fixed
61
- - Update
62
- - Dictionary validation error causing application exit (#2101)
63
- - Auto queue flush getting the queue into a bad state (#2103)
64
- - Fix getCache could not been cleared after reindex, and could have been re-used and lead to error, such as syncPoi
65
-
66
- ## [3.0.4] - 2023-10-12
67
- ### Changed
68
- - debug has changed from a boolean to a string to allow scoping debug log level (#2077)
69
-
70
- ### Fixed
71
- - Sync with node-core.
72
- - Fix issues with using object destructing for store interface and workers
73
- - Fixed Poi migration performance issue.
74
- - Fixed AutoQueue timeout issue.
75
- - Fixed Poi sync could block DB IO and drop connection issue.
76
-
77
- ## [3.0.3] - 2023-10-05
78
- ### Changed
79
- - Version bump with `@subql/types-ethereum` 3.0.2
80
-
81
- ## [3.0.2] - 2023-10-04
82
- ### Fixed
83
- - Fix reindex service without poi feature with `node-core`
84
-
85
- ### Changed
86
- - Version bump with `types-ethereum` and `common-ethereum`
87
-
88
- ## [3.0.1] - 2023-10-03
89
- ### Fixed
90
- - Empty string causing main command to not run, this happened with the default docker compose in starters
91
-
92
- ## [3.0.0] - 2023-10-03
93
- ### Fixed
94
- - Fix dictionary metadata validation failed
95
- - Improve get finalized block error logging
96
- - Fix reindex also start index service (#155)
97
- - Fix warning for filter address (#154)
98
- - Fetching logs via block height resulting in invalid results. Block hash is now used to ensure
99
- correct results. (#156)
100
- - Node runner options being overwritten by yargs defaults (#148)
101
- - Fix yargs default override runner nodeOptions (#166)
102
-
103
- ### Added
104
- - skipTransactions feature to avoid fetching transactions (#170)
105
-
106
- ## [2.12.5] - 2023-09-12
107
- ### Fixed
108
- - Fix nestjs-prometheus dependency issue (#163)
109
- - Sync with node-core 4.2.8, fix NodeConfig scaleBatchSize call itself
110
-
111
- ## [2.12.4] - 2023-09-12
112
- ### Fixed
113
- - Fetching logs via block height resulting in invalid results. Block hash is now used to ensure correct results. (#156)
114
- - Fix reindex also start index service (#155)
115
- - Fix warning for filter address (#154)
116
- - Update to node-core 4.2.7, fix set and remove in same block height causing empty in block range issue
117
-
118
- ## [2.12.3] - 2023-09-04
119
- ### Fixed
120
- - lock to `@subql/common` 2.6.0, in order to fix unknown reader issue. (#152)
121
-
122
- ## [2.12.2] - 2023-09-04
123
- ### Fixed
124
- - Previous failed release
125
-
126
- ## [2.12.1] - 2023-09-01
127
- ### Fixed
128
- - Update `node-core` to 4.2.6, fix timeout issue for unavailable networks in dictionary resolver.
129
-
130
- ## [2.12.0] - 2023-09-01
131
- ### Fixed
132
- - Fallback to singular provider if batch provider is not supported (#144)
133
- - Fix missing ds option for event in dictionary query entries (#145)
134
- - Update `node-core` to 4.2.5, fix dictionary failed to get token issue.
135
-
136
- ### Added
137
- - Custom provider for Celo (#147)
138
-
139
- ### Changed
140
- - Update node-core and add support for project upgrades feature (#148)
141
-
142
- ## [2.11.1] - 2023-08-14
143
- ### Changed
144
- - Synced with main sdk:
145
- - add `--primary-network-endpoint` cli option
146
- - Support for update availability logs
147
-
148
- ## [2.10.0] - 2023-07-31
149
- ### Added
150
- - Added `!null` filter for logs (#135)
151
-
152
- ### Changed
153
- - Update license to GPL-3.0 (#137)
154
- - Updated retry logic for eth requests (#134)
155
- - Adjust batch size for `JsonRpcBatchProvider` dynamically (#121)
156
- - Sync with node-core :
157
- - init db schema manually during test run
158
- - fix retry logic for workers in connection pool
159
- - Performance scoring fix
160
-
161
- ### Fixed
162
- - Fixed missing mmrQueryService in indexer module
163
-
164
- ## [2.9.2] - 2023-07-12
165
- ### Fixed
166
- - Sync with @subql/node-core@3.1.2 (#130)
167
- - Various improvements for POI feature
168
- - Handle RPC error for oversize block responses
169
- - Missing format transaction in log (#128)
170
-
171
- ## [2.9.1] - 2023-07-07
172
- ### Fixed
173
- - Sync with @subql/node-core@3.1.1, fixed Poi table missing mmr issue
174
- - Finalization check with BSC and improved rate limit handling (#126)
175
-
176
- ## [2.9.0] - 2023-07-05
177
- ### Fixed
178
- - Limit the number of calls to eth_chainId (#123)
179
-
180
- ### Added
181
- - `store-cache-upper-limit` flag to limit the max size of the store cache. (#124)
182
-
183
- ## [2.8.0] - 2023-06-27
184
- ### Changed
185
- - Update dependencies and sync with changes from main sdk (#118)
186
-
187
- ### Added
188
- - Custom Error for `api.ethereum`, expose error code. (#115)
189
- - Add flag `query-address-limit` for dictionary queries (#111)
190
-
191
- ### Fixed
192
- - Fix dictionary queries when using `dynamic-datasources` (#116)
193
-
194
- ## [2.6.1] - 2023-06-19
195
- ### Added
196
- - Support for transaction filter `to: null` (#108)
197
-
198
- ### Fixed
199
- - Fixed an issue where Node was not working with workers turned on (#106)
200
-
201
- ## [2.6.0] - 2023-06-15
202
- ### Added
203
- - Implement multiple-endpoint improvements from node-core (#102)
204
-
205
- ### Fixed
206
- - Dictionary queries not including null filters (#104)
207
-
208
- ## [2.5.3] - 2023-06-13
209
- ### Fixed
210
- - Fix module missing sequelize, use subql/x-sequelize (#101)
211
-
212
- ## [2.5.2] - 2023-06-07
213
- ### Fixed
214
- - Sync with node-core 2.4.4, fixed various issue for mmr
215
-
216
- ## [2.5.1] - 2023-06-02
217
- ### Fixed
218
- - Sync with node-core 2.4.3, fixed mmr missing node due to cache lock
219
-
220
- ### Added
221
- - Added parsed tx logs and decode (#97)
222
-
223
- ## [2.5.0] - 2023-06-01
224
- ### Added
225
- - add timestamp to ethTransaction (#93)
226
-
227
- ### Fixed
228
- - Running projects from IPFS with workers. Update node-core, apply fixes from main sdk (#94)
229
-
230
- ## [2.2.2] - 2023-05-22
231
- ### Changed
232
- - Update to latest `@subql/node-core`
233
- - Update to Node 18 (#88)
234
-
235
- ### Fixed
236
- - Fix multiple graphql dependencies due to multiple versions @subql/util (#90)
237
-
238
- ## [2.2.0] - 2023-05-17
239
- ### Changed
240
- - Update to latest node-core
241
- - New method of resolving chain alises (#82)
242
- - dict use equalTo for address (#81)
243
- - Add `chainId` to sandbox global types (#77)
244
-
245
- ### Fixed
246
- - Fix `ds.options.address` not being used (#79)
247
-
248
- ## [2.1.2] - 2023-05-12
249
- ### Changed
250
- - Sync fix with
251
- - Fix app could fail to start, due to flush before metadata repo been set (#73)
252
-
253
- ## [2.1.0] - 2023-05-11
254
- ### Changed
255
- - Sync with Main SDK (#70)
256
- - Updated node core and changes to match
257
- - Expose `chainId` to sandbox
258
- - `bulkRemove` method on the store.
259
- - Ability to regenerate MMR
260
- - Ability to migrade MMR from file based db to postgres db and vice versa
261
-
262
- ### Fixed
263
- - Dictionary meta error log (#69)
264
- - Runtime chain name (#71)
265
-
266
- ## [2.0.1] - 2023-05-09
267
- ### Fixed
268
- - Error message when failing to fetch block (#67)
269
-
270
- ## [2.0.0] - 2023-05-01
271
- ### Added
272
- - Added Database cache feature, this significantly improve indexing performance
273
- - Data flush to database when number of records reaches `--store-cache-threshold` value (default is 1000), this reduces number of transactions to database in order to save time.
274
- - Direct get data from the cache rather than wait to retrieve it from database, with flag `--store-get-cache-size` user could decide how many records for **each** entity they want to keep in the cache (default is 500)
275
- - If enabled `--store-cache-async` writing data to the store is asynchronous with regard to block processing (default is enabled)
276
- - Testing Framework, allow users to test their projects filters and handler functions without having to index the project
277
- - Create test files with the naming convention `*.test.ts` and place them in the `src/tests` or `src/test` folder. Each test file should contain test cases for specific mapping handlers.
278
- - Run the testing service using the command: `subql-node-ethereum test`.
279
-
280
- ## [1.0.2] - 2023-04-12
281
- ### Fixed
282
- - Improve error handling with 429 errors (#53)
283
- - Check result from json-rpc-batch request is array (#54)
284
-
285
- ### Changed
286
- - Update node-core, update logic for cockroach db (#55)
287
-
288
- ## [1.0.1] - 2023-04-05
289
- ### Fixed
290
- - Various minor fiexes for dynamic datasources (#51)
291
-
292
- ### Removed
293
- - Remove `count` method from the store (#51)
294
-
295
- ## [1.0.0] - 2023-04-03
296
- ### Changed
297
- - Initial full release
298
-
299
- ## [0.4.0] - 2023-02-03
300
- ### Changed
301
- - Use `eth_getBlockReceipts` RPC method when available to improve performance (#23)
302
-
303
- ## [0.3.0] - 2022-11-24
304
- ### Added
305
- - Support for dictionaries on with `evmChainId` (#17)
306
- - Convert query params to headers for api key support (##16)
307
-
308
- ### Fixed
309
- - Binary name
310
-
311
- ## [0.2.3] - 2022-11-22
312
- ### Fixed
313
- - Call and Block filters not working (#d0028a5cd56b7d5505d5d59ba997a55971335d96)
314
-
315
- ## [0.2.2] - 2022-11-18
316
- ### Fixed
317
- - Fix error from sync
318
-
319
- ## [0.2.1] - 2022-11-18
320
- ### Fixed
321
- - Rerelease 0.2.0
322
-
323
- ## [0.2.0] - 2022-11-17
324
- ### Changed
325
- - Sync with main sdk (#14)
326
-
327
- ## [0.1.1] - 2022-11-10
328
- ### Added
329
- - Retry request when encouraging timeout/rate limit behaviours (#9)
330
-
331
- ## [0.1.0] - 2022-10-31
332
- ### Added
333
- - Init release
334
-
335
- [Unreleased]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.3.4...HEAD
336
- [3.3.4]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.3.3...node-ethereum/3.3.4
337
- [3.3.3]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.3.2...node-ethereum/3.3.3
338
- [3.3.2]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.3.1...node-ethereum/3.3.2
339
- [3.3.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.3.0...node-ethereum/3.3.1
340
- [3.3.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.1.2...node-ethereum/3.3.0
341
- [3.1.2]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.1.1...node-ethereum/3.1.2
342
- [3.1.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.1.0...node-ethereum/3.1.1
343
- [3.1.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.6...node-ethereum/3.1.0
344
- [3.0.6]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.5...node-ethereum/3.0.6
345
- [3.0.5]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.4...node-ethereum/3.0.5
346
- [3.0.4]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.3...node-ethereum/3.0.4
347
- [3.0.3]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.2...node-ethereum/3.0.3
348
- [3.0.2]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.1...node-ethereum/3.0.2
349
- [3.0.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.0...node-ethereum/3.0.1
350
- [3.0.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.12.5...node-ethereum/3.0.0
351
- [2.12.5]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.12.4...node-ethereum/2.12.5
352
- [2.12.4]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.12.3...node-ethereum/2.12.4
353
- [2.12.3]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.12.2...node-ethereum/2.12.3
354
- [2.12.2]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.12.1...node-ethereum/2.12.2
355
- [2.12.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.12.0...node-ethereum/2.12.1
356
- [2.12.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.11.1...node-ethereum/2.12.0
357
- [2.11.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.10.0...node-ethereum/2.11.1
358
- [2.10.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.9.2...node-ethereum/2.10.0
359
- [2.9.2]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.9.1...node-ethereum/2.9.2
360
- [2.9.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.9.0...node-ethereum/2.9.1
361
- [2.9.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.8.0...node-ethereum/2.9.0
362
- [2.8.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.6.1...node-ethereum/2.8.0
363
- [2.6.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum//2.6.0...node-ethereum/2.6.1
364
- [2.6.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.5.3...node-ethereum/2.6.0
365
- [2.5.3]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.5.2...node-ethereum/2.5.3
366
- [2.5.2]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.5.1...node-ethereum/2.5.2
367
- [2.5.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.5.0...node-ethereum/2.5.1
368
- [2.5.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.2.2...node-ethereum/2.5.0
369
- [2.2.2]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.2.0.../node-ethereum/2.2.2
370
- [2.2.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.1.2.../node-ethereum/2.2.0
371
- [2.1.2]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.1.0.../node-ethereum/2.1.2
372
- [2.1.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.0.1.../node-ethereum/2.1.0
373
- [2.0.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/2.0.0.../node-ethereum/2.0.1
374
- [2.0.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/1.0.2.../node-ethereum/2.0.0
375
- [1.0.2]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/1.0.1.../node-ethereum/1.0.2
376
- [1.0.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/1.0.0.../node-ethereum/1.0.1
377
- [1.0.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/0.4.0.../node-ethereum/1.0.0
378
- [0.4.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/0.3.0.../node-ethereum/0.4.0
379
- [0.3.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/0.2.3.../node-ethereum/0.3.0
380
- [0.2.3]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/0.2.2.../node-ethereum/0.2.3
381
- [0.2.2]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/0.2.1.../node-ethereum/0.2.2
382
- [0.2.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/0.2.0.../node-ethereum/0.2.1
383
- [0.2.0]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/0.1.1.../node-ethereum/0.2.0
384
- [0.1.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/0.1.0.../node-ethereum/0.1.1
385
- [0.1.0]: https://github.com/subquery/subql-ethereum/tags/node-ethereum/0.1.0