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: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,15 +79,15 @@ We provide several tools to interact with ETH2 and the data in the beacon chain:
79
79
80
80
## For researchers
81
81
82
-
### State transition simulation
82
+
### Block simulation
83
83
84
-
The state transition simulator can quickly run the Beacon chain state transition function in isolation and output JSON snapshots of the state. The simulation runs without networking and blocks are processed without slot time delays.
84
+
The block simulator can quickly run the Beacon chain state transition function in isolation. The simulation runs without networking and without slot time delays.
85
85
86
86
```bash
87
-
# build and run the state simulator, then display its help ("-d:release" speeds it
87
+
# build and run the block simulator, then display its help ("-d:release" speeds it
88
88
# up substantially, allowing the simulation of longer runs in reasonable time)
Copy file name to clipboardExpand all lines: docs/the_nimbus_book/src/developers.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,7 @@ nim --version # Nimbus is tested and supported on 1.2.12 at the moment
104
104
105
105
- build a specific tool:
106
106
```bash
107
-
make state_sim
107
+
make block_sim
108
108
```
109
109
110
110
- you can control the Makefile's verbosity with the V variable (defaults to 0):
@@ -232,8 +232,8 @@ It runs without networking and blocks are processed without slot time delays.
232
232
```bash
233
233
# build the state simulator, then display its help ("-d:release" speeds it
234
234
# up substantially, allowing the simulation of longer runs in reasonable time)
235
-
make NIMFLAGS="-d:release"state_sim
236
-
build/state_sim --help
235
+
make NIMFLAGS="-d:release"block_sim
236
+
build/block_sim --help
237
237
```
238
238
239
239
Use the output of the `help` command to pass desired values to the simulator.
@@ -244,11 +244,10 @@ The most important options are:
244
244
-`slots`: the number of slots to run the simulation for (default 192)
245
245
-`validators`: the number of validators (default 6400)
246
246
-`attesterRatio`: the expected fraction of attesters that actually do their work for every slot (default 0.73)
247
-
-`json_interval`: how often JSON snapshots of the state are outputted (default every 32 slots -- or once per epoch)
248
247
249
-
For example, to run the state simulator for 384 slots, with 20,000 validators, and an average of 66% of attesters doing their work every slot, while outputting snapshots of the state twice per epoch, run:
248
+
For example, to run the block simulator for 384 slots, with 20,000 validators, and an average of 66% of attesters doing their work every slot, run:
0 commit comments