Skip to content

Commit b5fe030

Browse files
authored
Merge pull request #413 from near/develop
Release 0.4.0
2 parents 87fee40 + 65c48a5 commit b5fe030

File tree

81 files changed

+6052
-3115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+6052
-3115
lines changed

.cargo/config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[env]
2-
NEARCORE_VERSION = "2.6.1"
3-
NEARD_COMMIT = "60bb220fcc9853e68778ba33364b343c8d720b3a"
2+
NEARCORE_VERSION = "2.6.5"
3+
NEARD_COMMIT = "fe3f6de3aea0433310bcb4b61d3b8517e7ba3ffd"

.github/workflows/release.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased](https://github.com/near/read-rpc/compare/main...develop)
99

10+
## [0.4.0](https://github.com/near/read-rpc/releases/tag/v0.4.0)
11+
12+
### What's Changed
13+
* Added postgres as a storage for `tx_details_storage`
14+
* Changed database schema for state changes to improve performance
15+
* Added new custom RPC method `emulate_tx`
16+
* Fix lake authorization for fastnear data
17+
18+
### Supported Nearcore Version
19+
- nearcore v2.7.0
20+
- rust v1.86.0
21+
22+
## [0.3.4](https://github.com/near/read-rpc/releases/tag/v0.3.4)
23+
1024
### What's Changed
1125
* Migrate from lake data to fastnear data
1226
* Add metrics to calculate the number of blocks which fetched from the cache and fastnear
@@ -19,6 +33,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1933
* `ShardLayout` depends on the `near-chain-configs::GenesisConfig` so now the `configuration` crate is responsible for downloading the genesis config and providing the `ShardLayout` automatically. This process is surrounded by additional logs to help with debugging.
2034
* Provide `Option<ShardLayout>` to `DatabaseConfig` since it's the most common case to care about shard layout in the database context
2135
* Refactor the configuration of the `rpc-server` crate to use the `ShardLayout` from the `configuration` crate
36+
* `tx-details-storage` has been updated:
37+
* Now it can work with either PostgreSQL or ScyllaDB
38+
* The actual database interactions have been moved to the `database` crate and traits have been introduced to abstract the database interactions, so we can add more storage engines in the future
39+
* `tx_details_storage_provider` parameter has been added to the `configuration` and defaults to `postgres` storage engine`
40+
* `configuration` does not require `scylla_url` and will panic if the `tx_details_storage_provider` is set to `scylla` without the `scylla_url` parameter. The panic will occur during the initialization of the `tx-details-storage` in the `rpc-server` or `tx-indexer` crates.
41+
* `rpc-server` will instantiate the `tx-details-storage` with the `tx_details_storage_provider` from the configuration
42+
* `rpc-server` doesn't not ignore the `sernder_account_id` parameter when fetching the `TransactionDetails`. With ScyllaDB this parameter is not needed, but required for PostgreSQL to fetch the `TransactionDetails` from the corresponding shard database
2243

2344
### Supported Nearcore Version
2445
- nearcore v2.6.3

0 commit comments

Comments
 (0)