Function soroban_spec_json::generate_from_file
source · pub fn generate_from_file(
file: &str,
verify_sha256: Option<&str>,
) -> Result<String, GenerateFromFileError>Expand description
§Errors
Will return an error if the file cannot be read, or the wasm cannot be parsed.