Skip to content

feat: enable migration of key-shares into a populated keyshare storage #2121

@barakeinav1

Description

@barakeinav1

Background

Latest testing
of the migration flow revealed that migrating node A → node B → back to node A does not work out of the box.
The second migration (back to the original node) appears to succeed at the backup-cli and TLS layer, but the MPC contract state does not update and the migration does not complete without manual intervention (see full reproduction steps and workaround in the link).

This flow is useful in at least the following scenarios:

An operator wants to keep an operational (dormant) backup node at all times and occasionally fail back to the original node.

An operator wants to reuse the original node after migration (e.g., to avoid re-provisioning and setup time for a fresh node).

Request: the migration flows (MPC node, CLI) supports migration to an existing old node.

User Story

No response

Acceptance Criteria

migration flow is updates and tested

Resources & Additional Notes

Please note #2121 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions