pub fn mutate_history<F: FnOnce(&mut T, &mut EventList<T>)>(&mut self, f: F) {
        H::mutate_history(self, f);
    }
If history exists, modify it using `f`.
core/lib/multivm/src/versions/vm_1_3_2/history_recorder.rs