Skip to content

Rotation can be initiated by a quorum of an existing committee nodes.#505

Merged
lmoe merged 7 commits intodevelopfrom
footnotesizefix0
Mar 4, 2025
Merged

Rotation can be initiated by a quorum of an existing committee nodes.#505
lmoe merged 7 commits intodevelopfrom
footnotesizefix0

Conversation

@kape1395
Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Karolis Petrauskas <karolis.petrauskas@erisata.lt>
@kape1395 kape1395 marked this pull request as draft February 11, 2025 13:38
Signed-off-by: Karolis Petrauskas <karolis.petrauskas@erisata.lt>
Signed-off-by: Karolis Petrauskas <karolis.petrauskas@erisata.lt>
@kape1395 kape1395 self-assigned this Feb 11, 2025
@kape1395 kape1395 marked this pull request as ready for review February 11, 2025 14:44
Comment on lines +539 to +543
rotationPTB := vmtxbuilder.NewAnchorTransactionBuilder(bao.ISCPackage(), bao, c.dkShare.GetAddress())
rotationPTB.RotationTransaction(aggr.DecidedRotateTo())
rotationPTX := rotationPTB.BuildTransactionEssence(bao.GetStateMetadata(), 0)
rotationTXD := c.makeTransactionData(&rotationPTX, aggr)
rotationTXB := c.makeTransactionBytes(rotationTXD)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the rotation is no longer responsibility of the VM? In this case we can remove al code related to rotation from there?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess so.

kape1395 added 4 commits March 4, 2025 10:29
Signed-off-by: Karolis Petrauskas <karolis.petrauskas@erisata.lt>
Signed-off-by: Karolis Petrauskas <karolis.petrauskas@erisata.lt>
@kape1395 kape1395 requested a review from lmoe March 4, 2025 12:42
Copy link
Copy Markdown
Collaborator

@lmoe lmoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff!

@lmoe lmoe merged commit 392ba10 into develop Mar 4, 2025
@lmoe lmoe deleted the footnotesizefix0 branch March 4, 2025 14:11
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