Skip to content

Commit

Permalink
Standardise PowBlock between fork-choice and validator
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalinin committed Mar 24, 2021
1 parent ea5f606 commit 63ae9f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions specs/merge/fork-choice.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ This is the modification of the fork choice according to the executable beacon c

```python
class PowBlock(Container):
block_hash: Bytes32
is_processed: boolean
is_valid: boolean
total_difficulty: uint256
Expand Down
8 changes: 0 additions & 8 deletions specs/merge/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
- [Block proposal](#block-proposal)
- [Constructing the `BeaconBlockBody`](#constructing-the-beaconblockbody)
- [Application Payload](#application-payload)
- [`PowBlock`](#powblock)
- [`get_pow_chain_head`](#get_pow_chain_head)
- [`produce_application_payload`](#produce_application_payload)

Expand All @@ -43,13 +42,6 @@ All validator responsibilities remain unchanged other than those noted below. Na

##### Application Payload

###### `PowBlock`
```python
class PowBlock(Container):
block_hash: Bytes32
total_difficulty: uint256
```

###### `get_pow_chain_head`

Let `get_pow_chain_head() -> PowBlock` be the function that returns the head of the PoW chain. The body of the function is implementation specific.
Expand Down

0 comments on commit 63ae9f2

Please sign in to comment.