Skip to content

Commit

Permalink
Remove writing from state builder
Browse files Browse the repository at this point in the history
  • Loading branch information
lsankar4033 committed Aug 19, 2020
1 parent d173e20 commit 1391b15
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/beacon_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ def default_builder():
eth1_timestamp = spec.MIN_GENESIS_TIME
state = initialize_beacon_state_from_eth1(eth1_block_hash, eth1_timestamp, deposits)

os.makedirs(os.path.dirname(path), exist_ok=True)
with open(path, 'wb') as w:
state.serialize(w)

return state


Expand Down

0 comments on commit 1391b15

Please sign in to comment.