File tree Expand file tree Collapse file tree
crates/mpc-attestation/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,6 +151,12 @@ impl MockAttestation {
151151 /// [`MockAttestation::WithConstraints`] carrying the cap, so that once stored
152152 /// it eventually expires and becomes eligible for cleanup.
153153 /// [`MockAttestation::Invalid`] is returned unchanged — it never reaches acceptance.
154+ ///
155+ // TODO(#1639): Dstack fully owns the expiry (the submission carries none, so
156+ // the contract sets it outright); here a mock's submitted expiry is only capped.
157+ // Full alignment — override the value, or split the submitted vs stored mock
158+ // types (`ValidatedMockAttestation`) — is deferred; revisit alongside #1639
159+ // (certificate-derived expiry).
154160 pub fn with_expiry ( self , expiry_timestamp_seconds : u64 ) -> Self {
155161 match self {
156162 MockAttestation :: Valid => MockAttestation :: WithConstraints {
You can’t perform that action at this time.
0 commit comments