Skip to content

Commit 06ead3a

Browse files
fradamtjtraglia
andauthored
Apply suggestions from code review
Co-authored-by: Justin Traglia <[email protected]>
1 parent 04bda8b commit 06ead3a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

specs/_features/eip7594/fork-choice.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ def get_head(store: Store) -> Root:
5151
# Get available children for the current slot
5252
children = [
5353
root for (root, block) in blocks.items()
54-
if (
55-
block.parent_root == head
56-
and is_data_available(root)
57-
)
54+
if block.parent_root == head and is_data_available(root):
5855
]
5956
if len(children) == 0:
6057
return head

specs/_features/eip7594/peer-sampling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
## Introduction
2525

26-
The purpose of this document is to complement [EIP-7594 -- Data Availability Sampling Core](das-core.md), by specifying the peer sampling functionality of the full PeerDAS protocol. This functionality may initially not be implemented, or only implemented by some clients, in which case it is replaced by [subnet sampling](das-core.md#subnet-sampling), an extension of the custody component of the protocol.
26+
The purpose of this document is to complement [EIP-7594 -- Data Availability Sampling Core](das-core.md) by specifying the peer sampling functionality of the full PeerDAS protocol. Initially, this functionality may not be implemented by all clients. In such cases, it is replaced by [subnet sampling](das-core.md#subnet-sampling), which is an extension of the custody component of the protocol.
2727

2828
## Helper functions
2929

0 commit comments

Comments
 (0)