From 83d91f81db8530da9faffb23b0910c4ebfd20957 Mon Sep 17 00:00:00 2001 From: protolambda Date: Sun, 30 Jun 2019 15:03:50 +0200 Subject: [PATCH] update sanity slots description to match new transition naming --- specs/test_formats/sanity/slots.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/specs/test_formats/sanity/slots.md b/specs/test_formats/sanity/slots.md index eb0f336b4..04fecd186 100644 --- a/specs/test_formats/sanity/slots.md +++ b/specs/test_formats/sanity/slots.md @@ -12,11 +12,10 @@ slots: N -- amount of slots to process, N being a positive number. 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). -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