mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-20 07:29:02 +00:00
Return back proposer_index
validation for Gossip messages
This commit is contained in:
parent
b292f0b7b3
commit
df01588464
@ -97,6 +97,11 @@ on the horizontal subnet or creating samples for it. Alias `blob = signed_blob.m
|
|||||||
- _[REJECT]_ The blob builder defined by `blob.builder_index` exists and has sufficient balance to back the fee payment.
|
- _[REJECT]_ The blob builder defined by `blob.builder_index` exists and has sufficient balance to back the fee payment.
|
||||||
- _[REJECT]_ The blob signature, `signed_blob.signature`, is valid for the aggregate of proposer and builder --
|
- _[REJECT]_ The blob signature, `signed_blob.signature`, is valid for the aggregate of proposer and builder --
|
||||||
i.e. `bls.FastAggregateVerify([builder_pubkey, proposer_pubkey], blob_signing_root, signed_blob.signature)`.
|
i.e. `bls.FastAggregateVerify([builder_pubkey, proposer_pubkey], blob_signing_root, signed_blob.signature)`.
|
||||||
|
- _[REJECT]_ The blob is proposed by the expected `proposer_index` for the blob's `slot` and `shard`,
|
||||||
|
in the context of the current shuffling (defined by the current node head state and `blob.slot`).
|
||||||
|
If the `proposer_index` cannot immediately be verified against the expected shuffling,
|
||||||
|
the blob MAY be queued for later processing while proposers for the blob's branch are calculated --
|
||||||
|
in such a case _do not_ `REJECT`, instead `IGNORE` this message.
|
||||||
|
|
||||||
#### Global topics
|
#### Global topics
|
||||||
|
|
||||||
@ -127,6 +132,11 @@ The following validations MUST pass before forwarding the `signed_blob_header` o
|
|||||||
- _[REJECT]_ The blob builder defined by `blob.builder_index` exists and has sufficient balance to back the fee payment.
|
- _[REJECT]_ The blob builder defined by `blob.builder_index` exists and has sufficient balance to back the fee payment.
|
||||||
- _[REJECT]_ The header signature, `signed_blob_header.signature`, is valid for the aggregate of proposer and builder --
|
- _[REJECT]_ The header signature, `signed_blob_header.signature`, is valid for the aggregate of proposer and builder --
|
||||||
i.e. `bls.FastAggregateVerify([builder_pubkey, proposer_pubkey], blob_signing_root, signed_blob_header.signature)`.
|
i.e. `bls.FastAggregateVerify([builder_pubkey, proposer_pubkey], blob_signing_root, signed_blob_header.signature)`.
|
||||||
|
- _[REJECT]_ The header is proposed by the expected `proposer_index` for the blob's `header.slot` and `header.shard`
|
||||||
|
in the context of the current shuffling (defined by the current node head state and `header.slot`).
|
||||||
|
If the `proposer_index` cannot immediately be verified against the expected shuffling,
|
||||||
|
the blob MAY be queued for later processing while proposers for the blob's branch are calculated --
|
||||||
|
in such a case _do not_ `REJECT`, instead `IGNORE` this message.
|
||||||
|
|
||||||
##### `shard_blob_tx`
|
##### `shard_blob_tx`
|
||||||
|
|
||||||
@ -150,6 +160,11 @@ The following validations MUST pass before forwarding the `signed_blob_header` o
|
|||||||
Propagating nodes MAY increase fee increments in case of spam.
|
Propagating nodes MAY increase fee increments in case of spam.
|
||||||
- _[REJECT]_ The header signature, `signed_blob_header.signature`, is valid for ONLY the builder --
|
- _[REJECT]_ The header signature, `signed_blob_header.signature`, is valid for ONLY the builder --
|
||||||
i.e. `bls.Verify(builder_pubkey, blob_signing_root, signed_blob_header.signature)`. The signature is not an aggregate with the proposer.
|
i.e. `bls.Verify(builder_pubkey, blob_signing_root, signed_blob_header.signature)`. The signature is not an aggregate with the proposer.
|
||||||
|
- _[REJECT]_ The header is designated for proposal by the expected `proposer_index` for the blob's `header.slot` and `header.shard`
|
||||||
|
in the context of the current shuffling (defined by the current node head state and `header.slot`).
|
||||||
|
If the `proposer_index` cannot immediately be verified against the expected shuffling,
|
||||||
|
the blob MAY be queued for later processing while proposers for the blob's branch are calculated --
|
||||||
|
in such a case _do not_ `REJECT`, instead `IGNORE` this message.
|
||||||
|
|
||||||
##### `shard_proposer_slashing`
|
##### `shard_proposer_slashing`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user