This release adds support for Protocol 22
Breaking Changes
-
--parallel-job-size
configuration parameter for thestellar-horizon db reingest
command has been removed.
Job size will be automatically determined based on the number of workers (configuration parameter --parallel-workers), distributing
the range equally among them. The minimum job size will remain 64 ledgers and the start and end ledger range will be rounded to
the nearest checkpoint. (5484) -
Removed
num_accounts
andamount
fields from Asset stats related endpoints, andvalid_before
andvalid_after
fields from transaction related endpoints. Issue - 5438, PR - 5478- These fields have already been functionally deprecated as of release v2.1.0. As a part of this release, these fields are omitted from API Response
- Additionally, the
num_accounts
andamount
columns have been dropped fromexp_asset_stats
table in Postgres.
Added
-
Added response for new constructor functionality (introduced in protocol 22) in invoke host function operation (5488).
-
Add metrics which give insight into how long it takes for ingestion to startup (5449).
-
Added
error_result_xdr
field in the response of the async transaction submission endpoint,POST /transactions_async
.error_result_xdr
should be used instead oferrorResultXdr
which is now deprecated. (5445)
Fixed
-
Fixed the
error
field nested in theextras
field in the response of the async transaction submission endpointPOST /transactions_async
. (5440) -
Improved performance of requests which query the lower boundary of horizon's history when running a horizon instance with the
--history-retention-count
flag. (5410, 5448, 5465) -
Improve performance of ingestion when running horizon with the
--history-retention-count
flag by executing reaping of history lookup tables concurrently with ingestion. (5405) -
Improve performance of ingestion when consuming ledgers via the BufferedStorageBackend. (5494)
Deprecations
- The
errorResultXdr
field from the response of the async transaction submission endpoint has been deprecated and will be removed in the v23 release. (5496) - The
num_archived_contracts
andarchived_contracts_amount
fields from the/assets
response have been deprecated and will be removed in the v23 Horizon release. (5496)