@subql/node-ethereum 3.0.5 → 3.0.6

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