From 1d48aa280b6e51ab7b3ecc0fb5862c3d16c936f1 Mon Sep 17 00:00:00 2001 From: Grant Wuerker Date: Sun, 9 Dec 2018 22:22:08 -0600 Subject: [PATCH] test passing in validator_record.rs --- beacon_chain/types/src/validator_record.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/beacon_chain/types/src/validator_record.rs b/beacon_chain/types/src/validator_record.rs index e7ad8fecf..b1110c855 100644 --- a/beacon_chain/types/src/validator_record.rs +++ b/beacon_chain/types/src/validator_record.rs @@ -51,12 +51,12 @@ mod tests { #[test] fn test_validator_record_zero_rand_keypair() { let (v, _kp) = ValidatorRecord::zero_with_thread_rand_keypair(); - assert_eq!(v.withdrawal_shard, 0); - assert!(v.withdrawal_address.is_zero()); + assert!(v.withdrawal_credentials.is_zero()); assert!(v.randao_commitment.is_zero()); - assert_eq!(v.randao_last_change, 0); + assert_eq!(v.randao_skips, 0); assert_eq!(v.balance, 0); assert_eq!(v.status, 0); - assert_eq!(v.exit_slot, 0); + assert_eq!(v.latest_status_change_slot, 0); + assert_eq!(v.exit_count, 0); } }