Closed
Description
Need
In order to use correctly the stake distribution retrieved from the Cardano node, we need to handle properly and match:
- The
poolId
: unique identifier of the SPO in the stake distribution - The
party_id
: unique identifier used in the Mithril protocol
Solution
- The
party_id
in the Mithril nodes will store thepoolId
from the Cardano node - The
party_id
will be removed from themithril-core
library
Tasks
- Remove the
party_id
inmithril-core
interface (and recompute it inside the lib with custom sort based onstake
andverification_key
) (Done in Removing PartyID from mithril-core #279) - Switch the
party_id: u64
withparty_id: String
inopen-api.yaml
- Switch the
party_id: u64
withparty_id: String
inmithril-common
- Switch the
party_id: u64
withparty_id: String
inmithril-aggregator
- Switch the
party_id: u64
withparty_id: String
inmithril-signer
- Switch the
party_id: u64
withparty_id: String
inprotocol-demo
- Reset (if needed) associated data stores on GCP