Apply Danny's suggestions from code review

Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
This commit is contained in:
Hsiao-Wei Wang 2021-06-22 20:55:52 +08:00 committed by GitHub
parent 83598af188
commit 88be6cdf60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -7,8 +7,12 @@ from eth2spec.test.helpers.attestations import (
next_slots_with_attestations,
state_transition_with_signed_full_block,
)
from eth2spec.test.helpers.block import build_empty_block_for_next_slot, transition_unsigned_block, \
build_empty_block, sign_block
from eth2spec.test.helpers.block import (
build_empty_block,
build_empty_block_for_next_slot,
sign_block,
transition_unsigned_block,
)
from eth2spec.test.helpers.fork_choice import (
get_genesis_forkchoice_store,
run_on_block,

View File

@ -29,7 +29,7 @@ The parameter that is required for executing `on_tick(store, time)`.
```yaml
{
tick: int -- to execute `on_tick(store, time)`.
tick: int -- to execute `on_tick(store, time)`.
valid: bool -- optional, default to `true`.
If it's `false`, this execution step is expected to be invalid.
}