(
&self,
txs: Vec<Transaction>,
py: Python<'py>,
)
| 52 | } |
| 53 | |
| 54 | pub fn decode_transactions_input<'py>( |
| 55 | &self, |
| 56 | txs: Vec<Transaction>, |
| 57 | py: Python<'py>, |
| 58 | ) -> PyResult<Bound<'py, PyAny>> { |
| 59 | let decoder = self.clone(); |
| 60 | |
| 61 | future_into_py(py, async move { |
| 62 | let result = tokio::task::spawn_blocking(move || { |
| 63 | Python::attach(|py| decoder.decode_transactions_input_sync(txs, py)) |
| 64 | }) |
| 65 | .await |
| 66 | .unwrap(); |
| 67 | Ok(result) |
| 68 | }) |
| 69 | } |
| 70 | |
| 71 | pub fn decode_traces_input<'py>( |
| 72 | &self, |
no test coverage detected