pub fn borrow_history<F: FnOnce(&EventList<T>) -> R, R>(&self, f: F, default: R) -> R {
        H::borrow_history(self, f, default)
    }
If history exists, feed it into `f`. Otherwise return `default`.
core/lib/multivm/src/versions/vm_refunds_enhancement/old_vm/history_recorder.rs