Releases: subquery/subql-cosmos
Releases · subquery/subql-cosmos
[2.0.1] @subql/node-cosmos
[2.0.0] @subql/types-cosmos
[2.0.0] - 2023-05-03
Changed
- Sync with main SDK for 2.0 release
[2.0.0] @subql/node-cosmos
[2.0.0] - 2023-05-03
- Major release for 2.0.0, align with other SDK versions
Added
- Added Database cache feature, this significantly improve indexing performance
- 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. - 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) - If enabled
--store-cache-async
writing data to the store is asynchronous with regard to block processing (default is enabled)
- Data flush to database when number of records reaches
- Testing Framework, allow users to test their projects filters and handler functions without having to index the project
- Create test files with the naming convention
*.test.ts
and place them in thesrc/tests
orsrc/test
folder. Each test file should contain test cases for specific mapping handlers. - Run the testing service using the command:
subql-node-cosmos test
.
- Create test files with the naming convention
- Expose
validator()
from tendermint client to safe api in sandbox. This will allow projects to fetch validators of current block. (#106)
[2.0.0] @subql/common-cosmos
[2.0.0] - 2023-05-01
Changed
- Sync with main SDK for 2.0 release
[1.19.1] @subql/node-cosmos
[1.19.1] - 2023-04-14
Updated
@subql/utils
to support JSON types without indexes