()
| 1873 | } |
| 1874 | |
| 1875 | fn did_attestation() -> Attestation { |
| 1876 | Attestation::builder("sess-did", AttestAgent::new("a", "A", "v")) |
| 1877 | .operations_covered(vec!["turn 2 HEAD a -> b".into()]) |
| 1878 | .add_change(Hash::of(b"change")) |
| 1879 | .turn_outcomes_root(Hash::of(b"outcomes")) |
| 1880 | .capture_root(Hash::of(b"captures")) |
| 1881 | .provenance_root(Hash::of(b"provenance")) |
| 1882 | .timestamp(1739290034) |
| 1883 | .build() |
| 1884 | } |
| 1885 | |
| 1886 | fn sign_did(attest: &mut Attestation, seed: [u8; 32]) -> String { |
| 1887 | let signing = ed25519_dalek::SigningKey::from_bytes(&seed); |
no test coverage detected