Skip to content

Commit

Permalink
P2p spec feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
terencechain authored Nov 19, 2024
1 parent 6ce0077 commit be471b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions specs/_features/eip7805/p2p-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ EIP-7805 introduces a new global topic for inclusion lists.
This topic is used to propagate signed inclusion list as `SignedInclusionList`.
The following validations MUST pass before forwarding the `inclusion_list` on the network, assuming the alias `message = signed_inclusion_list.message`:

- _[REJECT]_ The transactions `message.transactions` is not exceeding `MAX_BYTES_PER_INCLUSION_LIST`.
- _[REJECT]_ The slot `message.slot` is equal to the previous or current slot.
- _[IGNORE]_ The slot `message.slot` is equal to the current slot, or it is equal to the previous slot and the current time is less than `attestation_deadline` seconds into the slot.
- _[IGNORE]_ The `inclusion_list_committee` for slot `message.slot` on the current branch corresponds to `message.inclusion_list_committee_root`, as determined by `hash_tree_root(inclusion_list_committee) == message.inclusion_list_committee_root`.
Expand All @@ -68,7 +69,7 @@ The `<context-bytes>` field is calculated as `context = compute_fork_digest(fork

| `fork_version` | Chunk SSZ type |
|------------------------|------------------------------------------|
| `EIP-7805_FORK_VERSION` | `EIP-7805.SignedInclusionList` |
| `EIP7805_FORK_VERSION` | `EIP-7805.SignedInclusionList` |

Request Content:
```
Expand All @@ -83,4 +84,4 @@ Response Content:
(
List[SignedInclusionList, MAX_REQUEST_INCLUSION_LIST]
)
```
```

0 comments on commit be471b8

Please sign in to comment.