(
&self,
traces: Vec<Trace>,
py: Python,
)
| 107 | } |
| 108 | |
| 109 | pub fn decode_traces_input_sync( |
| 110 | &self, |
| 111 | traces: Vec<Trace>, |
| 112 | py: Python, |
| 113 | ) -> Vec<Option<Vec<DecodedSolValue>>> { |
| 114 | traces |
| 115 | .into_iter() |
| 116 | .map(|trace| self.decode_impl(trace.input?.as_str(), py)) |
| 117 | .collect() |
| 118 | } |
| 119 | |
| 120 | pub fn decode_impl(&self, input: &str, py: Python) -> Option<Vec<DecodedSolValue>> { |
| 121 | let input = Data::decode_hex(input).context("decode input").unwrap(); |
no test coverage detected