cardano-foundation / cardano-rosetta-java

An implementation of Rosetta for cardano based yaci-store to offer reduced ressource footprints
https://www.rosetta-api.org
Apache License 2.0
8 stars 2 forks source link

Get ProtocolParams from local_protocol_params table #226

Closed Kammerlo closed 1 month ago

Kammerlo commented 2 months ago

Why

The current implementation can lead to outdated protocol params. After the conway era the protocol params will be changed through governance actions. The current implementation uses the epoch table, which only updates at epoch boundaries. This can lead to wrong params.

What

Use local_protocol_params table these will contain always the correct data.