MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / legacy_v0_upgrade_uses_dstack_stack

Function legacy_v0_upgrade_uses_dstack_stack

dstack-attest/src/attestation.rs:1324–1328  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1322
1323 #[test]
1324 fn legacy_v0_upgrade_uses_dstack_stack() {
1325 let upgraded = dummy_tdx_attestation([3u8; 64]).into_v1();
1326 assert!(matches!(upgraded.platform, PlatformEvidence::Tdx { .. }));
1327 assert!(matches!(upgraded.stack, StackEvidence::Dstack { .. }));
1328 }
1329
1330 #[test]
1331 fn versioned_v0_projects_to_v1() {

Callers

nothing calls this directly

Calls 2

dummy_tdx_attestationFunction · 0.85
into_v1Method · 0.80

Tested by

no test coverage detected