(operation: OperationId)
| 402 | } |
| 403 | |
| 404 | fn applied_receipt(operation: OperationId) -> EffectReceipt { |
| 405 | EffectReceipt::new(EffectReceiptPayload { |
| 406 | operation, |
| 407 | effect_ordinal: Some(0), |
| 408 | attempt: 0, |
| 409 | kind: EffectReceiptKind::Applied, |
| 410 | observed_old: Some(EffectValue::Absent), |
| 411 | observed_new: Some(EffectValue::Verification(Hash::from_bytes([9; 32]))), |
| 412 | timestamp_ms: 3, |
| 413 | }) |
| 414 | .unwrap() |
| 415 | } |
| 416 | |
| 417 | #[test] |
| 418 | fn operations_list_in_id_order_and_survive_readonly_reopen() { |