For pubkey type hinting, use `bytes` for now.
This commit is contained in:
parent
0b10b0444a
commit
725199593b
|
@ -1292,7 +1292,7 @@ First, a helper function:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def validate_proof_of_possession(state: BeaconState,
|
def validate_proof_of_possession(state: BeaconState,
|
||||||
pubkey: int,
|
pubkey: bytes,
|
||||||
proof_of_possession: bytes,
|
proof_of_possession: bytes,
|
||||||
withdrawal_credentials: Bytes32,
|
withdrawal_credentials: Bytes32,
|
||||||
randao_commitment: Bytes32,
|
randao_commitment: Bytes32,
|
||||||
|
@ -1321,7 +1321,7 @@ Now, to add a [validator](#dfn-validator) or top up an existing [validator](#dfn
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def process_deposit(state: BeaconState,
|
def process_deposit(state: BeaconState,
|
||||||
pubkey: int,
|
pubkey: bytes,
|
||||||
amount: int,
|
amount: int,
|
||||||
proof_of_possession: bytes,
|
proof_of_possession: bytes,
|
||||||
withdrawal_credentials: Bytes32,
|
withdrawal_credentials: Bytes32,
|
||||||
|
|
Loading…
Reference in New Issue