update sanity slots description to match new transition naming

This commit is contained in:
protolambda 2019-06-30 15:03:50 +02:00
parent 64b02ebecc
commit 83d91f81db
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 2 additions and 3 deletions

View File

@ -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