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