MCPcopy Create free account
hub / github.com/enviodev/hypersync-client-python / decode_traces_input

Method decode_traces_input

src/decode_call.rs:71–86  ·  view source on GitHub ↗
(
        &self,
        traces: Vec<Trace>,
        py: Python<'py>,
    )

Source from the content-addressed store, hash-verified

69 }
70
71 pub fn decode_traces_input<'py>(
72 &self,
73 traces: Vec<Trace>,
74 py: Python<'py>,
75 ) -> PyResult<Bound<'py, PyAny>> {
76 let decoder = self.clone();
77
78 future_into_py(py, async move {
79 let result = tokio::task::spawn_blocking(move || {
80 Python::attach(|py| decoder.decode_traces_input_sync(traces, py))
81 })
82 .await
83 .unwrap();
84 Ok(result)
85 })
86 }
87
88 pub fn decode_inputs_sync(
89 &self,

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.45

Tested by

no test coverage detected