Skip to content

More gracefully support a Manager Set rotation #4820

@evan-gray

Description

@evan-gray

A warning was added to drop a signature from aggregation if the set doesn't match, but ideally we could more gracefully ensure consensus by capturing all signatures in more flexible fashion.


During the Manager Set rotation, managers might end up signing a transaction with a different ManagerSetIndex, because each manager independently reads this value from the contract. Maybe it was discussed already, in that case feel free to ignore.

We can add check like this in storeSignature

if aggTx != nil {
    if aggTx.ManagerSetIndex != sig.ManagerSetIndex {
        error ...
     }
}

Originally posted by @bemic in #4816 (review)

Metadata

Metadata

Assignees

No one assigned

    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