From 124500c6e3f8764a0cf48b7cef3899047db04934 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Sat, 28 Mar 2026 18:22:44 +0200 Subject: [PATCH] update rfcs Signed-off-by: Oliver Tale-Yazdi --- docs/knowledge/rpc/jip2-gav.md | 2 +- docs/knowledge/simple-networking/spec.md | 11 +++++++++-- docs/knowledge/testing/pvm/host-call-log.md | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/knowledge/rpc/jip2-gav.md b/docs/knowledge/rpc/jip2-gav.md index c6e5170..514939d 100644 --- a/docs/knowledge/rpc/jip2-gav.md +++ b/docs/knowledge/rpc/jip2-gav.md @@ -6,7 +6,7 @@ sidebar_position: 1 slug: /advanced/rpc/jip2-node-rpc --- -(fetched from [here](https://github.com/polkadot-fellows/JIPs/blob/main/JIP-2.md) on 2026-02-11) +(fetched from [here](https://github.com/polkadot-fellows/JIPs/blob/main/JIP-2.md) on 2026-03-28) # JIP-2: Node RPC diff --git a/docs/knowledge/simple-networking/spec.md b/docs/knowledge/simple-networking/spec.md index a35e284..4ff4abd 100644 --- a/docs/knowledge/simple-networking/spec.md +++ b/docs/knowledge/simple-networking/spec.md @@ -5,7 +5,7 @@ sidebar_position: 1 slug: /knowledge/advanced/simple-networking/spec --- -(fetched from [here](https://github.com/zdave-parity/jam-np/blob/main/simple.md) on 2026-02-11) +(fetched from [here](https://github.com/zdave-parity/jam-np/blob/main/simple.md) on 2026-03-28) # JAM Simple Networking Protocol (JAMNP-S) @@ -369,6 +369,10 @@ Note that if the builder can provide the content of imported segments, CE 146 sh the full work-package bundle. Otherwise it is the responsibility of the receiving guarantor to fetch this data from the availability system. +The initial message `Core Index ++ Work-Package` should be limited to `2 + (200 * 1024)` bytes. This ensures +that Guarantors can not be forced to download huge work packages, before they can check that the +Work-Package is actually authorized. + ``` Work-Package = As in GP Extrinsic = [u8] @@ -385,7 +389,10 @@ Builder -> Guarantor Submission of a complete work-package bundle from a builder to a guarantor. -Note that the bundle parts are sent in separate messages to allow for authorizing the work-package before reading the rest of the bundle. +Note that the bundle parts are sent in separate messages to allow for authorizing the work-package before +reading the rest of the bundle. The `Work-Package` message should be limited to `200 * 1024` bytes. This +ensures that Guarantors can not be forced to download huge work packages, before they can check that the +Work-Package is actually authorized. The import proof corresponds to $\mathit{J}$ as defined in the gray paper. diff --git a/docs/knowledge/testing/pvm/host-call-log.md b/docs/knowledge/testing/pvm/host-call-log.md index 53b1557..7223196 100644 --- a/docs/knowledge/testing/pvm/host-call-log.md +++ b/docs/knowledge/testing/pvm/host-call-log.md @@ -4,7 +4,7 @@ sidebar_label: Log Host Call sidebar_position: 1 --- -(fetched from [here](https://github.com/polkadot-fellows/JIPs/blob/main/JIP-1.md) on 2026-02-11) +(fetched from [here](https://github.com/polkadot-fellows/JIPs/blob/main/JIP-1.md) on 2026-03-28) # JIP-1: Debug message host call