You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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
19
33
*`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.
20
34
* Provide `Option<ShardLayout>` to `DatabaseConfig` since it's the most common case to care about shard layout in the database context
21
35
* 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
0 commit comments