pub fn accept_memory_with_metadata(
store: &LifecycleStore,
record_id: &str,
metadata: TransitionMetadata,
) -> Result<LedgerEntry>pub fn accept_memory_with_metadata(
store: &LifecycleStore,
record_id: &str,
metadata: TransitionMetadata,
) -> Result<LedgerEntry>