set initial fork_slot to INITIAL_SLOT_NUMBER

This commit is contained in:
Danny Ryan 2018-11-30 12:04:18 -06:00
parent 81360d50a4
commit b55ef47c9b
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 2 additions and 2 deletions

View File

@ -817,7 +817,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,
@ -860,7 +860,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,
),
)