Skip to content

Commit

Permalink
eip4844: process_blob_kzgs - move TODO to issue, add missing input ar…
Browse files Browse the repository at this point in the history
…gument
  • Loading branch information
protolambda committed Mar 14, 2022
1 parent 9b760df commit dc5f9df
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions specs/eip4844/beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc5f9df

Please sign in to comment.