pub fn take(&self) -> Vec<RecordedCall> {
        mem::take(&mut *self.0.lock().expect("recorded calls are poisoned"))
    }
Takes all currently recorded calls from this tracer.
core/node/api_server/src/web3/backend_jsonrpsee/testonly.rs