Skip to content

Commit

Permalink
implement eip-7044
Browse files Browse the repository at this point in the history
  • Loading branch information
concentricspheres committed Jan 31, 2024
1 parent 2483a36 commit 8f7859b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eth_jit_exiter/signer_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ def get_beacon_data():
fork_schedule = requests.get(f"{CONFIG['beacon_node_url']}/eth/v1/config/fork_schedule").json()['data']

for schedule in fork_schedule:
if int(schedule['epoch']) <= current_epoch:
if schedule['current_version'].startswith("0x03"):
current_fork_version = schedule['current_version']
break

# Get the Genesis validators root
genesis_validators_root = requests.get(f"{CONFIG['beacon_node_url']}/eth/v1/beacon/genesis").json()['data']['genesis_validators_root']
Expand Down

0 comments on commit 8f7859b

Please sign in to comment.