File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed
Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -279,21 +279,12 @@ pub mod pallet {
279279 /// Client‑side:
280280 ///
281281 /// 1. Read `NextKey` (ML‑KEM public key bytes) from storage.
282- /// 2. Compute `key_hash = Hashing::hash(NextKey_bytes)`.
283- /// 3. Build:
282+ /// 2. Sign your extrinsic so that it can be executed when added to the pool,
283+ /// i.e. you may need to increment the nonce if you submit using the same account.
284+ /// 3. `commitment = Hashing::hash(signed_extrinsic)`.
285+ /// 4. Encrypt:
284286 ///
285- /// raw_payload = signer (32B AccountId)
286- /// || key_hash (32B Hash)
287- /// || SCALE(call)
288- ///
289- /// 4. `commitment = Hashing::hash(raw_payload)`.
290- /// 5. Signature message:
291- ///
292- /// "mev-shield:v1" || genesis_hash || raw_payload
293- ///
294- /// 6. Encrypt:
295- ///
296- /// plaintext = raw_payload || sig_kind || signature(64B)
287+ /// plaintext = signed_extrinsic
297288 ///
298289 /// with ML‑KEM‑768 + XChaCha20‑Poly1305, producing
299290 ///
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
237237 // `spec_version`, and `authoring_version` are the same between Wasm and native.
238238 // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
239239 // the compatible custom types.
240- spec_version : 358 ,
240+ spec_version : 359 ,
241241 impl_version : 1 ,
242242 apis : RUNTIME_API_VERSIONS ,
243243 transaction_version : 1 ,
You can’t perform that action at this time.
0 commit comments