MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / parse_from_bytes_legacy

Method parse_from_bytes_legacy

contract-bindings/src/error_parser.rs:203–205  ·  view source on GitHub ↗

Legacy method for backward compatibility

(bytes: &[u8])

Source from the content-addressed store, hash-verified

201
202 /// Legacy method for backward compatibility
203 pub fn parse_from_bytes_legacy(bytes: &[u8]) -> Result<String, ParseContractError> {
204 Self::parse_from_bytes(bytes).map(|parsed| parsed.name)
205 }
206
207 /// Legacy method for backward compatibility
208 pub fn parse_from_hex_str_legacy(err: &str) -> Result<String, ParseContractError> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected