Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/knowledge/advanced/rpc/jip2-gav.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_position: 1
slug: /advanced/rpc/jip2-node-rpc
---

(source https://hackmd.io/@polkadot/jip2 from 2025-06-21)
(source https://hackmd.io/@polkadot/jip2 from 2025-09-19)

<!-- The raw MD from above will be downloaded and appended -->
# JIP-2: Node RPC
Expand Down
7 changes: 5 additions & 2 deletions docs/knowledge/advanced/simple-networking/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_label: Spec
sidebar_position: 1
---

(source https://github.com/zdave-parity/jam-np/blob/main/simple.md from 2025-06-21)
(source https://github.com/zdave-parity/jam-np/blob/main/simple.md from 2025-09-19)

<!-- The raw MD from above will be downloaded and appended -->
# JAM Simple Networking Protocol (JAMNP-S)
Expand Down Expand Up @@ -252,7 +252,10 @@ There are two types of request:
- Descending inclusive: The sequence of blocks in the response should start with the given block,
followed by its parent, grandparent, and so on.

The number of blocks in the response should be limited to the given maximum.
The number of blocks in the response should be limited to the given maximum. The response should
not contain blocks which, from the responding node's perspective, cannot be finalized. If it is not
possible to satisfy the request with this constraint (for example, because a block which cannot be
finalized is explicitly requested), the stream should simply be reset/stopped.

```
Direction = 0 (Ascending exclusive) OR 1 (Descending inclusive) (Single byte)
Expand Down
34 changes: 13 additions & 21 deletions docs/knowledge/basics/dev-accounts.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,24 @@
---
id: Dev Accounts (JIP-5)
sidebar_label: Dev Accounts (JIP-5)
id: Dev Accounts
sidebar_label: Dev Accounts
sidebar_position: 1
slug: /basics/dev-accounts
---

These well known accounts can be used for testing and are known by all JAM node implementations.

:::warning
This page is assumes that [JIP-5@7048f79](https://github.com/polkadot-fellows/JIPs/pull/2) is accepted. The pre-JIP-5 version is available [here](../../old/dev-accounts-pre-jip5.md).
:::
The well known accounts can be used for testing and are known by all JAM implementations.
The values are specified by [JIP-5](https://github.com/polkadot-fellows/JIPs/pull/2).

## Seeds

The 256 bit seeds for the dev accounts are generated by encoding the index of the validator as unsigned 32-bit little endian integer and repeating that sequence of bits 8 times. You should *not hash* these seeds - otherwise the created accounts will be different.

With the following indices for the accounts:
The 256 bit seeds for the dev accounts are generated by encoding the index of the validator as unsigned 32-bit little endian integer and repeating that sequence of bits 8 times. You should not hash these seeds, otherwise the created accounts will be different.

| Name | Index |
|--------|-------|
| Alice | 0 |
| Bob | 1 |
| Carol | 2 |
| David | 3 |
| Eve | 4 |
| Fergie | 5 |
There are $2^{32}$ dev seeds in total, but only the first six have canonical names:
- **0** Alice
- **1** Bob
- **2** Carol
- **3** David
- **4** Eve
- **5** Fergie

## Bandersnatch Nomenclature

Expand Down Expand Up @@ -100,7 +94,7 @@ dns_alt_name: "elfaiiixcuzmzroa34lajwp52cdsucikaxdviaoeuvnygdi3imtba"

<details>

<summary>Yaml File</summary>
<summary>All In One YAML</summary>

```yaml
Alice:
Expand Down Expand Up @@ -153,5 +147,3 @@ Fergie:
```

</details>

... there are 2^32 dev accounts in total that continue in the same pattern but are unnamed.
8 changes: 2 additions & 6 deletions docs/knowledge/basics/genesis-config.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
---
id: Genesis Config (JIP-5)
sidebar_label: Genesis Config (JIP-5)
id: Genesis Config
sidebar_label: Genesis Config
sidebar_position: 2
slug: /basics/genesis-config
---

The genesis config provides the initial values that are needed by all nodes to start the JAM chain. Each field is explained below.

:::warning
This page is assumes that [JIP-5@7048f79](https://github.com/polkadot-fellows/JIPs/pull/2) is accepted. The pre-JIP-5 version is available [here](../../old/genesis-config-pre-jip5.md).
:::

## Authorities

A list of Validator Key Tuples, called $\mathbb{K}$ in the Graypaper. This defines the validators that are permissioned to seal blocks for the current epoch. The accounts are the [Dev Accounts](./dev-accounts.md).
Expand Down
2 changes: 1 addition & 1 deletion docs/knowledge/testing/pvm/host-call-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_label: Log Host Call
sidebar_position: 1
---

(source https://hackmd.io/@polkadot/jip1 from 2025-06-21)
(source https://hackmd.io/@polkadot/jip1 from 2025-09-19)

<!-- The raw MD from above will be downloaded and appended -->
# JIP-1: Debug message host call
Expand Down
139 changes: 0 additions & 139 deletions docs/old/dev-accounts-pre-jip5.md

This file was deleted.

103 changes: 0 additions & 103 deletions docs/old/genesis-config-pre-jip5.md

This file was deleted.

3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ dev:

build:
sh build.sh

update:
yarn upgrade --latest
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@
"convert-yaml": "node scripts/yml-to-md.js"
},
"dependencies": {
"@docusaurus/core": "3.7.0",
"@docusaurus/preset-classic": "3.7.0",
"@mdx-js/react": "^3.0.0",
"@docusaurus/core": "3.8.1",
"@docusaurus/preset-classic": "3.8.1",
"@mdx-js/react": "^3.1.1",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"rehype-katex": "^7.0.1",
"remark-math": "^6.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.7.0",
"@docusaurus/tsconfig": "3.7.0",
"@docusaurus/types": "3.7.0",
"typescript": "~5.8.3"
"@docusaurus/module-type-aliases": "3.8.1",
"@docusaurus/tsconfig": "3.8.1",
"@docusaurus/types": "3.8.1",
"typescript": "~5.9.2"
},
"browserslist": {
"production": [
Expand Down
Loading