update sanity slots description to match new transition naming
This commit is contained in:
parent
64b02ebecc
commit
83d91f81db
|
@ -12,11 +12,10 @@ slots: N -- amount of slots to process, N being a positive number.
|
||||||
post: BeaconState -- state after applying all the transitions.
|
post: BeaconState -- state after applying all the transitions.
|
||||||
```
|
```
|
||||||
|
|
||||||
The transition with pure time, no blocks, is known as `state_transition_to(state, slot)` in the spec.
|
The transition with pure time, no blocks, is known as `process_slots(state, slot)` in the spec.
|
||||||
This runs state-caching (pure slot transition) and epoch processing (every E slots).
|
This runs state-caching (pure slot transition) and epoch processing (every E slots).
|
||||||
|
|
||||||
To process the data, call `state_transition_to(pre, pre.slot + N)`. And see if `pre` mutated into the equivalent of `post`.
|
To process the data, call `process_slots(pre, pre.slot + N)`.
|
||||||
|
|
||||||
|
|
||||||
## Condition
|
## Condition
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue