Skip to content

Test the migration to on-ledger SV right owners - #28

Draft
akonior wants to merge 1 commit into
sv-weights-poc2from
sv-weights-poc2-tests
Draft

Test the migration to on-ledger SV right owners#28
akonior wants to merge 1 commit into
sv-weights-poc2from
sv-weights-poc2-tests

Conversation

@akonior

@akonior akonior commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Add happy-path Daml script tests for DsoRules_MigrateToOnLedgerSvRightOwners, its execute choice, and the expiry of the resulting instruction. The test migrates the four SV node operators of the test network one-to-one into SV right owners of the same name, and checks that the operator reward weights are zeroed and that one SvRightOwner contract exists per operator.

Add the SvRewardState, SvRightOwner and OpenMiningRound query helpers to DsoTestUtils, since every choice on SV right owners takes some of them as arguments.

Add happy-path Daml script tests for DsoRules_MigrateToOnLedgerSvRightOwners,
its execute choice, and the expiry of the resulting instruction. The test
migrates the four SV node operators of the test network one-to-one into SV
right owners of the same name, and checks that the operator reward weights are
zeroed and that one SvRightOwner contract exists per operator.

Add the SvRewardState, SvRightOwner and OpenMiningRound query helpers to
DsoTestUtils, since every choice on SV right owners takes some of them as
arguments.

[ci]

Signed-off-by: Arkadiusz Konior <arkadiusz.konior@intellecteu.com>
@akonior
akonior force-pushed the sv-weights-poc2-tests branch from 23b7d11 to d126105 Compare August 29, 2026 07:23
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.

1 participant