You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The core workflow types (DutyArg, DutyArgSet, etc) can be simplified.
Also, I think we should refactor DV identifier from VIdxPubKey. This was the original design, and since we now have explicit DutyArg/FetchArg type, we do not need to pull query args to the top level of the type system. Another reason why DVs should be identified by the pubkey rather than then VIdx, is that when downstream components need to lookup TSS from the manifest, doing so via the VIdx require additional shared state, while PubKey doesn't.
Problem to solve
The core workflow types (
DutyArg
,DutyArgSet
, etc) can be simplified.Also, I think we should refactor DV identifier from
VIdx
PubKey
. This was the original design, and since we now have explicitDutyArg
/FetchArg
type, we do not need to pull query args to the top level of the type system. Another reason why DVs should be identified by the pubkey rather than then VIdx, is that when downstream components need to lookup TSS from the manifest, doing so via the VIdx require additional shared state, while PubKey doesn't.Proposed solution
If we assume the project structure in #155:
VIdx
->PubKey
Duty
DutyArg
->FetchArg
(andFetchArgSet
)DutyData
->UnsignedData
(andUnsignedDataSet
)SignedDutyData
->ParSignedData
(andParSignedDataSet
)AggSignedData
(andAggSignedDataSet
)SigDB
->ParSigDB
SigEx
->ParSigEx
AggDB
->AggSigDB
The text was updated successfully, but these errors were encountered: