pub fn set_tx_responses<F>(&mut self, responses: F)
    where
        F: Fn(&Transaction, &OneshotEnv) -> ExecutionResult + 'static + Send + Sync,
    {
        self.tx_responses = self.wrap_responses(responses);
    }
Sets transaction response closure used by this executor. The closure will be called both for transaction execution / validation,
and for gas estimation.
core/lib/vm_executor/src/oneshot/mock.rs