pub fn single_page_book<T: Config>() -> BookStateOf<T>
Examples found in repository?
src/mock_helpers.rs (line 135)
131
132
133
134
135
136
137
138
139
pub fn setup_bump_service_head<T: Config>(
	current: <<T as Config>::MessageProcessor as ProcessMessage>::Origin,
	next: <<T as Config>::MessageProcessor as ProcessMessage>::Origin,
) {
	let mut book = single_page_book::<T>();
	book.ready_neighbours = Some(Neighbours::<MessageOriginOf<T>> { prev: next.clone(), next });
	ServiceHead::<T>::put(&current);
	BookStateFor::<T>::insert(&current, &book);
}