pub fn validate_event_signature_hash(
event_name: &str,
target_event_signature_hash: &str,
log: &Log,
) -> Result<()>
Expand description
Validates that a log entry corresponds to the expected event by comparing its topic0 with the provided event signature hash.
§Errors
Returns an error if the event signature doesn’t match or if topic0 is missing.