@subql/node-ethereum 3.1.0-poi-logs → 3.1.0

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