Create a test history entry for testing.
(hash_bytes: &[u8], sequence: u64)
| 462 | |
| 463 | /// Create a test history entry for testing. |
| 464 | fn create_test_history_entry(hash_bytes: &[u8], sequence: u64) -> HistoryEntry { |
| 465 | let hash = Hash::of(hash_bytes); |
| 466 | let state = Merkle::of(hash_bytes); |
| 467 | HistoryEntry::new(sequence, NodeId::ROOT, hash, state) |
| 468 | } |
| 469 | |
| 470 | /// Create a test changelist entry for testing. |
| 471 | fn create_test_changelist_entry( |
nothing calls this directly
no outgoing calls
no test coverage detected