Releases: near/read-rpc
Releases · near/read-rpc
v0.3.3
v0.3.2
What's Changed
- Corrected state size calculation logic.
- Integrated cargo_pkg_version metric to reflect the current server version.
- Delete unnecessary debug logs about update blocks by finalities
- Support new method
EXPERIMENTAL_congestion_level
Supported Nearcore Version
- nearcore v2.3.1
- rust v1.81.0
v0.3.1
Supported Nearcore Version
- nearcore v2.3.0
- rust v1.81.0
What's Changed
- Improved bulk insertion of state_changes, reducing database requests from hundreds to a maximum of 7 per block.
- Configuration improvement. Create default config.toml on start application to loaded parameters from the environment variables.
- Fix to fetch state by pages (view_state_paginated).
- Change logic to get
shard_layout
for indexers. Main idea to avoid requestprotocol_config
via RPC,protocol_config
could be changed with new nearcore release and we should support old and new versions ofprotocol_config
.
0.3.0
BREAKING CHANGES
Please, see the PostgreSQL & ShardLayout Pull Request for details. This is a completely new version of the ReadRPC with a new data storage layout and a new data storage engine. The main changes are:
- Migrate from ScyllaDB to PostgreSQL for storing the data. We adopted the ShardLayout from the
nearcore
and split the data to separate PostgreSQL databases for each shard. - Changed the way we store
TransactionDetails
(JSON blobs again, but it might change soon)
All the work in this release allowed us to increase the performance of the ReadRPC and make it more reliable. We are still working on the performance improvements and will continue to work on the ReadRPC to make it even better.
Supported Nearcore Version (not changed)
- nearcore v2.2.1
- rust v1.79.0