pub fn append_block<T: State>(
    state: &mut T,
    block: &BlockA,
    previous_timestamp: u32,
    loading: bool
)