Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[env]
NEARCORE_VERSION = "2.6.1"
NEARD_COMMIT = "60bb220fcc9853e68778ba33364b343c8d720b3a"
NEARCORE_VERSION = "2.6.5"
NEARD_COMMIT = "fe3f6de3aea0433310bcb4b61d3b8517e7ba3ffd"
50 changes: 0 additions & 50 deletions .github/workflows/release.yml

This file was deleted.

21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

## [0.4.0](https://github.com/near/read-rpc/releases/tag/v0.4.0)

### What's Changed
* Added postgres as a storage for `tx_details_storage`
* Changed database schema for state changes to improve performance
* Added new custom RPC method `emulate_tx`
* Fix lake authorization for fastnear data

### Supported Nearcore Version
- nearcore v2.7.0
- rust v1.86.0

## [0.3.4](https://github.com/near/read-rpc/releases/tag/v0.3.4)

### What's Changed
* Migrate from lake data to fastnear data
* Add metrics to calculate the number of blocks which fetched from the cache and fastnear
Expand All @@ -19,6 +33,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* `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.
* Provide `Option<ShardLayout>` to `DatabaseConfig` since it's the most common case to care about shard layout in the database context
* Refactor the configuration of the `rpc-server` crate to use the `ShardLayout` from the `configuration` crate
* `tx-details-storage` has been updated:
* Now it can work with either PostgreSQL or ScyllaDB
* 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
* `tx_details_storage_provider` parameter has been added to the `configuration` and defaults to `postgres` storage engine`
* `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.
* `rpc-server` will instantiate the `tx-details-storage` with the `tx_details_storage_provider` from the configuration
* `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

### Supported Nearcore Version
- nearcore v2.6.3
Expand Down
Loading
Loading