Function
make_history_entry
(sequence: u64, hash_seed: &str)
Source from the content-addressed store, hash-verified
| 136 | // Test Helpers |
| 137 | |
| 138 | fn make_history_entry(sequence: u64, hash_seed: &str) -> HistoryEntry { |
| 139 | HistoryEntry { |
| 140 | sequence, |
| 141 | hash: Hash::of(hash_seed.as_bytes()), |
| 142 | state: Merkle::ZERO, |
| 143 | node_id: NodeId::from(sequence), |
| 144 | header: None, |
| 145 | is_tagged: false, |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | fn make_changelist_entry(sequence: u64, hash_seed: &str) -> ChangelistEntry { |
| 150 | let hash = Hash::of(hash_seed.as_bytes()); |
Callers
nothing calls this directly
Tested by
no test coverage detected