Copy-edit deposit-contract.md
This commit is contained in:
parent
47ebf438b3
commit
e93f1e1fa8
|
@ -61,15 +61,12 @@ The amount of ETH (rounded down to the closest Gwei) sent to the deposit contrac
|
||||||
|
|
||||||
One of the `DepositData` fields is `withdrawal_credentials`.
|
One of the `DepositData` fields is `withdrawal_credentials`.
|
||||||
|
|
||||||
This field is a commitment to credentials for withdrawing validator balance (e.g. to another validator, or to shards).
|
This field is a commitment to credentials for withdrawing validator balance, e.g. to another validator, to an Ethereum 1.0 address, or to a shard.
|
||||||
The first byte of `withdrawal_credentials` is a version number. The remaining
|
The first byte of `withdrawal_credentials` is a withdrawal prefix which specifies the withdrawal type. The remaining 31 bytes are specific to the withdrawal prefix.
|
||||||
bytes are content specific to the version.
|
|
||||||
|
|
||||||
Currently, `BLS_WITHDRAWAL_PREFIX` and `ETH1_ADDRESS_WITHDRAWAL_PREFIX`
|
The withdrawal prefixes currently supported are `BLS_WITHDRAWAL_PREFIX` and `ETH1_ADDRESS_WITHDRAWAL_PREFIX`. Read more in the [validator guide](./validator.md).
|
||||||
versioned withdrawal credentials are supported. Read more in the [validator guide](./validator.md).
|
|
||||||
|
|
||||||
*Note*: The deposit contract does *not* validate withdrawal credentials.
|
*Note*: The deposit contract does not validate withdrawal credentials. Support for new withdrawal types can be added without modifying the deposit contract.
|
||||||
Thus, new versions can be added without modifications of the deposit contract.
|
|
||||||
|
|
||||||
#### `DepositEvent` log
|
#### `DepositEvent` log
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue