entropyxyz / entropy-core

Protocol and cryptography development.
https://docs.entropy.xyz/
GNU Affero General Public License v3.0
11 stars 2 forks source link

Add quote guards to `ServerInfo` related extrinsics #1123

Closed HCastano closed 2 weeks ago

HCastano commented 1 month ago

This is one of the follow-ups to #1109, in which we will enforce that validators who want to change certain info about their validator will need to pass an attestation check first.

For the change_endpoint() extrinsic we assume that that the underlying hardware and Account ID stay the same, so a quote from the existing TSS Account ID is expected.

For the change_threshold_accounts() extrinsic we assume that the underlying hardware has changed, so a quote from a new TSS account ID is expected.