Lift+attest a stored memory with the given keypair.
(repo: &Repository, id: &str, kp: &KeyPair)
| 412 | |
| 413 | /// Lift+attest a stored memory with the given keypair. |
| 414 | fn attest_with(repo: &Repository, id: &str, kp: &KeyPair) -> MemoryNode { |
| 415 | let inputs = bridge::read_memory(repo, id).unwrap(); |
| 416 | let identity = Identity::new("tester", kp); |
| 417 | lift_and_attest_memory(&inputs.frontmatter, &inputs.body, &identity, kp).unwrap() |
| 418 | } |
| 419 | |
| 420 | /// Mirror `attest`'s tracked-vault write (body = pretty JSON + '\n'). |
| 421 | fn write_tracked(repo: &Repository, id: &str, node: &MemoryNode) { |