Skip to content

Commit 191833b

Browse files
committed
index from AttestationData
1 parent 313a64e commit 191833b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specs/phase0/p2p-interface.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ to subscribing nodes (typically validators) to be included in future blocks.
356356
We define the following variables for convenience:
357357
- `aggregate_and_proof = signed_aggregate_and_proof.message`
358358
- `aggregate = aggregate_and_proof.aggregate`
359-
- `index = aggregate.index`
359+
- `index = aggregate.data.index`
360360
- `aggregation_bits = attestation.aggregation_bits`
361361

362362
The following validations MUST pass before forwarding the `signed_aggregate_and_proof` on the network.
@@ -436,7 +436,7 @@ The `beacon_attestation_{subnet_id}` topics are used to propagate unaggregated a
436436
to the subnet `subnet_id` (typically beacon and persistent committees) to be aggregated before being gossiped to `beacon_aggregate_and_proof`.
437437

438438
We define the following variables for convenience:
439-
- `index = attestation.index`
439+
- `index = attestation.data.index`
440440
- `aggregation_bits = attestation.aggregation_bits`
441441

442442
The following validations MUST pass before forwarding the `attestation` on the subnet.

0 commit comments

Comments
 (0)