From f961c841ca8a87afb1c2f00ae7908543b506f7fc Mon Sep 17 00:00:00 2001 From: Parth Desai Date: Wed, 27 Nov 2024 13:00:10 +0400 Subject: [PATCH] add doc comments --- primitives/bridge/src/symbiotic_message_processor.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/primitives/bridge/src/symbiotic_message_processor.rs b/primitives/bridge/src/symbiotic_message_processor.rs index 635e7e2f6..e8c18feb5 100644 --- a/primitives/bridge/src/symbiotic_message_processor.rs +++ b/primitives/bridge/src/symbiotic_message_processor.rs @@ -29,6 +29,7 @@ use sp_std::vec::Vec; /// indeed send a message intended for this processor. pub const MAGIC_BYTES: [u8; 4] = [112, 21, 0, 56]; +/// Payload is the whole data we expect to receive from the relayer #[derive(Encode, Decode)] pub struct Payload where @@ -38,6 +39,7 @@ where pub message: Message, } +/// Actual message inside the payload #[derive(Encode, Decode)] pub enum Message where @@ -46,6 +48,7 @@ where V1(InboundCommand), } +/// Command to be executed by this message processor #[derive(Encode, Decode)] pub enum InboundCommand where