Merge pull request #202 from ethereum/initial_fork_slot

set initial fork_slot to INITIAL_SLOT_NUMBER
This commit is contained in:
vbuterin 2018-12-03 09:37:27 -05:00 committed by GitHub
commit 2f112e12fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -840,7 +840,7 @@ def on_startup(initial_validator_entries: List[Any],
fork_data=ForkData(
pre_fork_version=INITIAL_FORK_VERSION,
post_fork_version=INITIAL_FORK_VERSION,
fork_slot=2**64 - 1,
fork_slot=INITIAL_SLOT_NUMBER,
),
pubkey=pubkey,
deposit=deposit,
@ -883,7 +883,7 @@ def on_startup(initial_validator_entries: List[Any],
fork_data=ForkData(
pre_fork_version=INITIAL_FORK_VERSION,
post_fork_version=INITIAL_FORK_VERSION,
fork_slot=2**64 - 1,
fork_slot=INITIAL_SLOT_NUMBER,
),
)