Skip to content

SV Weights on Ledger PoC - #24

Open
akonior wants to merge 24 commits into
mainfrom
sv-weights-poc2
Open

SV Weights on Ledger PoC#24
akonior wants to merge 24 commits into
mainfrom
sv-weights-poc2

Conversation

@akonior

@akonior akonior commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@akonior akonior changed the title Sv weights poc2 SV Weights on Ledger PoC Aug 28, 2026
@akonior
akonior marked this pull request as ready for review August 28, 2026 09:32
pmjpawelec-ieu and others added 10 commits August 28, 2026 10:21
Signed-off-by: Przemysław Pawelec <przemyslaw.pawelec@intellecteu.com>
Signed-off-by: Przemysław Pawelec <przemyslaw.pawelec@intellecteu.com>
Signed-off-by: Przemysław Pawelec <przemyslaw.pawelec@intellecteu.com>
CI is back to green - daml version bump, typescript code regenerated, Scalafmt applied.
Signed-off-by: Arkadiusz Konior <arkadiusz.konior@intellecteu.com>
No behaviour change: rename `SvRightOwnerInfo.party` to `rightOwnerParty`,
replace the `foldMap`/`Sum` reward-weight sums with `sum`, document the 20
beneficiary limit, and drop the TODOs the reviewer asked to remove.

Signed-off-by: Arkadiusz Konior <arkadiusz.konior@intellecteu.com>
The choices documented their `openMiningRoundCid` as the latest open round but
checked nothing, so a caller could anchor a new SV right owner to a round its SV
node operator had already minted for. `validateOpenMiningRoundTriple` derives
the latest usable round from the three open rounds instead.

Signed-off-by: Arkadiusz Konior <arkadiusz.konior@intellecteu.com>
`SvRewardState` is keyed by SV name, so archiving all of them at migration reset
`lastRoundCollected` and the coupon counters for every SV that keeps its name.
Reuse the existing state in that case and archive only the rest.

[ci]

Signed-off-by: Arkadiusz Konior <arkadiusz.konior@intellecteu.com>
[ci]

Signed-off-by: Arkadiusz Konior <arkadiusz.konior@intellecteu.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants