[Feature]: Emit signatures for all validators not just enough for the threshold #11717
Labels
bridges
feature
new feature to be developed
validators selection
Validators joining and leaving by stake
Feature Overview
When signatures are being aggregated to perform an action on the bridge, the notary engine will emit the signature bundle as soon as it has received the threshold number of signatures. Say there are
9
validators and the threshold is666
then the signauture bundle will contain6
signature, which is sufficient.This is a nice optimisation when the validator set is relatively static, but is a bit annoying if the validator set is changing a lot. For example during the sunsetting of Vega mainnet the validator set reduced quite quickly and we were in a position where we have 15 validaors on the contract, and 10 seen as validators in core.
What this meant is that any signature bundle would contain only
7
signature, but given there are15
keys on the multisig this is under the threshold. If the notary engine instead created a bundle with all10
signatures it would be above the threshold.We should change the notary engine so that either (or both, or something else):
Specs
Tasks
A checklist of the tasks that are needed to develop the feature and meet the acceptance criteria and feature test scenarios.
Feature test scenarios
Detailed scenarios that can be executed as feature tests to verify that the feature has been implemented as expected.
GIVEN (setup/context)
WHEN (action)
THEN (assertion) For example...
See here for more format information and examples.
Additional Details (optional)
Any additional information that provides context or gives information that will help us develop the feature.
The text was updated successfully, but these errors were encountered: