github cardano-foundation/cardano-rosetta 2.0.0
Cardano Rosetta 2.0.0

latest releases: 2.3.3, 2.3.2, 2.3.1...
20 months ago

This release introduces a breaking change in the construction flow to correct an oversight in the original implementation relating to handling current protocol parameters, as well as a number of improvements and bug fixes.

The Dockerfile bundles cardano-node@1.35.3 and cardano-db-sync@13.0.5.

This update will require the DB to be dropped and re-created, see the upgrade instructions below:

Upgrade Instructions

System Requirements

  • Recent version of docker.
  • 32 Gigabytes of RAM.
  • 4 CPU cores.
  • 160 Gigabytes or more of disk storage (preferably SSD which are 2-5 times faster than electro-mechanical disks).

⚠ BREAKING CHANGES

  • Get protocol params from request: This is a breaking change in the construction flow to correct an oversight in the original implementation relating to handling current protocol parameters, and how it relates to running the service in offline mode.
    In prior versions the protocol parameters were an internal concern, originally it was statically read from genesis, then later refactored to be queried from the DB. The former version created a valid offline mode, but after refactoring it violates the spec as the database cannot be running in this mode.
    Upgrading from v1 to v2: /construction/metadata now returns protocol_parameters, which must be used to construct a deposit_parameters object in the /construction/preprocess request metadata.

Performance

  • Improve search transactions by coin query (a721862)

Refactor

  • Get protocol params from request (ec56d25)

Bug Fixes

  • Handle WASM-bound objects produced when interacting with CSL (069674e)
  • Nest protocol params inside metadata object of construction endpoint (176f3e2)
  • Updating the DEFAULT_POOL_DEPOSIT parameter (d102687)

Chore

  • Bump to cardano-serialization-lib@11.1.1

See the CHANGELOG for further details.

Role Approval
Technical Lead ✔️
QA Engineer ✔️
Ops
Release Manager ✔️

Don't miss a new cardano-rosetta release

NewReleases is sending notifications on new releases.