mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 01:25:16 -05:00
Make use of constants. (#7)
This commit is contained in:
@@ -31,7 +31,7 @@ contract DepositContract is IDepositContract {
|
||||
|
||||
uint constant MIN_DEPOSIT_AMOUNT = 1000000000; // Gwei
|
||||
uint constant DEPOSIT_CONTRACT_TREE_DEPTH = 32;
|
||||
uint constant MAX_DEPOSIT_COUNT = 4294967295; // 2**DEPOSIT_CONTRACT_TREE_DEPTH - 1
|
||||
uint constant MAX_DEPOSIT_COUNT = 2**DEPOSIT_CONTRACT_TREE_DEPTH - 1;
|
||||
uint constant PUBKEY_LENGTH = 48; // bytes
|
||||
uint constant WITHDRAWAL_CREDENTIALS_LENGTH = 32; // bytes
|
||||
uint constant SIGNATURE_LENGTH = 96; // bytes
|
||||
|
||||
Reference in New Issue
Block a user