File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ class ValidatorRecord(rlp.Serializable):
33
33
('balance' , uint64 ),
34
34
# Status code
35
35
('status' , uint8 ),
36
- # Slot when validator exited (or 0)
37
- ('exit_slot ' , uint64 ),
36
+ # Slot when validator last changed status (or 0)
37
+ ('last_status_change_slot ' , uint64 ),
38
38
# Sequence number when validator exited (or 0)
39
39
('exit_seq' , uint64 ),
40
40
]
@@ -47,7 +47,7 @@ def __init__(self,
47
47
randao_last_change : int ,
48
48
balance : int ,
49
49
status : int ,
50
- exit_slot : int ,
50
+ last_status_change_slot : int ,
51
51
exit_seq : int ) -> None :
52
52
super ().__init__ (
53
53
pubkey = pubkey ,
@@ -57,6 +57,6 @@ def __init__(self,
57
57
randao_last_change = randao_last_change ,
58
58
balance = balance ,
59
59
status = status ,
60
- exit_slot = exit_slot ,
60
+ last_status_change_slot = last_status_change_slot ,
61
61
exit_seq = exit_seq ,
62
62
)
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ def sample_validator_record_params():
152
152
'randao_last_change' : 1 ,
153
153
'balance' : 100 ,
154
154
'status' : 1 ,
155
- 'exit_slot ' : 0 ,
155
+ 'last_status_change_slot ' : 0 ,
156
156
'exit_seq' : 0
157
157
}
158
158
You can’t perform that action at this time.
0 commit comments