Background
After #3245 the post-DCAP helpers live in attestation-types, but the bundle types mpc-contract actually holds in state (DstackAttestation, Collateral, QuoteBytes) still live in attestation. Without moving these, mpc-contract would still need to link attestation (and therefore dcap-qvl) to hold the attestation it received from the operator.
User Story
As an MPC contract maintainer, I want the on-state attestation types in a dcap-qvl-free crate so the MPC contract can hold and serialize them without linking the cryptographic library.
Acceptance Criteria
Resources & Additional Notes
PR: #3246. Depends on #3245. Tracked by #3264.
Background
After #3245 the post-DCAP helpers live in
attestation-types, but the bundle typesmpc-contractactually holds in state (DstackAttestation,Collateral,QuoteBytes) still live inattestation. Without moving these,mpc-contractwould still need to linkattestation(and thereforedcap-qvl) to hold the attestation it received from the operator.User Story
As an MPC contract maintainer, I want the on-state attestation types in a dcap-qvl-free crate so the MPC contract can hold and serialize them without linking the cryptographic library.
Acceptance Criteria
DstackAttestationmoves toattestation-types.CollateralandQuoteBytesare owned bytee-verifier-interfaceand re-exported fromattestation-types(so consumers have one import path).attestation-typesgains a dep ontee-verifier-interface.attestationre-exports the moved types for back-compat.Resources & Additional Notes
PR: #3246. Depends on #3245. Tracked by #3264.