You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pallets/subtensor/src/macros/dispatches.rs
+11-1
Original file line number
Diff line number
Diff line change
@@ -186,7 +186,17 @@ mod dispatches {
186
186
/// - The u16 network identifier.
187
187
///
188
188
/// * `commit` (`Vec<u8>`):
189
-
/// - The encrypted weights commit.
189
+
/// - The encrypted compressed commit.
190
+
/// The steps for this are:
191
+
/// 1. Instantiate [`WeightsPayload`]
192
+
/// 2. Serialize it using the `parity_scale_codec::Encode` trait
193
+
/// 3. Encrypt it following the steps (here)[https://github.com/ideal-lab5/tle/blob/f8e6019f0fb02c380ebfa6b30efb61786dede07b/timelock/src/tlock.rs#L283-L336]
194
+
/// to produce a [`TLECiphertext<TinyBLS381>`] type.
195
+
/// 4. Serialize and compress using the `ark-serialize` `CanonicalSerialize` trait.
196
+
///
197
+
/// * reveal_round (`u64`):
198
+
/// - The drand reveal round which will be avaliable during epoch `n+1` from the current
0 commit comments