Skip to content

Commit 93be099

Browse files
committed
README: update tiny/full spec params
1 parent 171b5f2 commit 93be099

3 files changed

Lines changed: 46 additions & 18 deletions

File tree

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,45 @@ ASN.1 syntax provided with the test vectors. These scripts currently rely on my
2929
```bash
3030
./scripts/validate-all.sh.sh
3131
```
32+
33+
## Chainspec Parameters
34+
35+
For more information refer to the community [docs](https://docs.jamcha.in/basics/chain-spec).
36+
37+
### Tiny
38+
39+
```yaml
40+
chain: tiny
41+
num_validators: 6
42+
num_cores: 2
43+
preimage_expunge_period: 32
44+
slot_duration: 6
45+
epoch_duration: 12
46+
contest_duration: 10
47+
tickets_per_validator: 3
48+
max_tickets_per_extrinsic: 3
49+
rotation_period: 4
50+
num_ec_pieces_per_segment: 1026
51+
max_block_gas: 20000000
52+
max_refine_gas: 1000000000
53+
```
54+
55+
### Full
56+
57+
All parameters here must match the Gray Paper.
58+
59+
```yaml
60+
chain: full
61+
num_validators: 1023
62+
num_cores: 341
63+
preimage_expunge_period: 19200
64+
slot_duration: 6
65+
epoch_duration: 600
66+
contest_duration: 500
67+
tickets_per_validator: 2
68+
max_tickets_per_extrinsic: 16
69+
rotation_period: 10
70+
num_ec_pieces_per_segment: 6
71+
max_block_gas: 3500000000
72+
max_refine_gas: 5000000000
73+
```

stf/README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
# State Transition Function Test Vectors
22

3-
We offer two types of test vectors:
4-
5-
- **Tiny**: designed for quick adjustments and prototyping, with reduced
6-
- validators count: 6
7-
- cores count: 2
8-
- epoch period: 12
9-
- core assignment rotation period: 4
10-
- ticket attempts: 3
11-
12-
- **Full**: vectors with production specs
13-
- validators count: 1023
14-
- cores count: 341
15-
- epoch period: 600
16-
- core assignment rotation period: 10
17-
- ticket attempts: 2
18-
19-
For more information refer to the community [docs](https://docs.jamcha.in/basics/chain-spec).
20-
213
## STF Output
224

235
Technically, the STF execution process does not inherently produce auxiliary

traces/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Import full blocks starting from genesis, implementing the complete logic
44
required of a block importer that complies with the specifications outlined
55
in Graypaper Milestone 1 (M1).
66

7+
## Chainspec
8+
9+
The traces vectors are provided for **tiny** configuration only.
10+
711
## Schema
812

913
The schema is designed to be sufficiently generic to allow easy processing by

0 commit comments

Comments
 (0)