pub fn state_set(data: &[u8], key: &[u8]) -> Result<u64>
Set the Hook State for a given key and value