eip4844: process_blob_kzgs - move TODO to issue, add missing input argument

This commit is contained in:
protolambda 2022-03-14 21:50:07 +01:00
parent 9b760dfb54
commit dc5f9dffa0
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 1 additions and 5 deletions

View File

@ -173,12 +173,8 @@ def process_block(state: BeaconState, block: BeaconBlock) -> None:
#### Blob KZGs
```python
def process_blob_kzgs(body: BeaconBlockBody):
def process_blob_kzgs(state: BeaconState, body: BeaconBlockBody):
assert verify_kzgs_against_transactions(body.execution_payload.transactions, body.blob_kzgs)
# TODO do we want to buffer the kzg commitments in the BeaconState, like in the full sharding design?
# This could make a proof to any particular blob commitment more efficient,
# but the buffer structure is also likely to change with full sharding.
```
## Testing