This repository was archived by the owner on Sep 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class ValidatorRecord(rlp.Serializable):
22
22
# RANDAO commitment
23
23
('randao_commitment' , hash32 ),
24
24
# Slot the proposer has skipped (ie. layers of RANDAO expected)
25
- ('randao_skips ' , uint64 ),
25
+ ('randao_layers ' , uint64 ),
26
26
# Balance in Gwei
27
27
('balance' , uint64 ),
28
28
# Status code
@@ -37,7 +37,7 @@ def __init__(self,
37
37
pubkey : int ,
38
38
withdrawal_credentials : Hash32 ,
39
39
randao_commitment : Hash32 ,
40
- randao_skips : int ,
40
+ randao_layers : int ,
41
41
balance : int ,
42
42
status : int ,
43
43
latest_status_change_slot : int ,
@@ -46,7 +46,7 @@ def __init__(self,
46
46
pubkey = pubkey ,
47
47
withdrawal_credentials = withdrawal_credentials ,
48
48
randao_commitment = randao_commitment ,
49
- randao_skips = randao_skips ,
49
+ randao_layers = randao_layers ,
50
50
balance = balance ,
51
51
status = status ,
52
52
latest_status_change_slot = latest_status_change_slot ,
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ def sample_validator_record_params():
284
284
'pubkey' : 123 ,
285
285
'withdrawal_credentials' : b'\x01 ' * 32 ,
286
286
'randao_commitment' : b'\x01 ' * 32 ,
287
- 'randao_skips ' : 1 ,
287
+ 'randao_layers ' : 1 ,
288
288
'balance' : 100 ,
289
289
'status' : 1 ,
290
290
'latest_status_change_slot' : 0 ,
@@ -450,7 +450,7 @@ def genesis_validators(init_validator_keys,
450
450
pubkey = pub ,
451
451
withdrawal_credentials = ZERO_HASH32 ,
452
452
randao_commitment = init_randao ,
453
- randao_skips = 0 ,
453
+ randao_layers = 0 ,
454
454
balance = max_deposit * denoms .gwei ,
455
455
status = ValidatorStatusCode .ACTIVE ,
456
456
latest_status_change_slot = 0 ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def mock_validator_record(pubkey, max_deposit):
13
13
pubkey = pubkey ,
14
14
withdrawal_credentials = b'\x44 ' * 32 ,
15
15
randao_commitment = b'\x55 ' * 32 ,
16
- randao_skips = 0 ,
16
+ randao_layers = 0 ,
17
17
balance = max_deposit ,
18
18
status = ValidatorStatusCode .ACTIVE ,
19
19
latest_status_change_slot = 0 ,
You can’t perform that action at this time.
0 commit comments