pub fn build_event_sig_message(
topic: &str,
payload: &[u8],
timestamp: i64,
) -> Vec<u8> ⓘExpand description
Build the signing message for EventEnvelopeV2.
Format: u32_le(len(topic)) || topic || u32_le(len(payload)) || payload || timestamp_i64_le
Variable-length fields are length-prefixed to prevent concatenation ambiguity. The fixed-length timestamp is appended without a length prefix.