mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 08:52:54 +00:00
fix beacon chain tests (#8392)
This commit is contained in:
@@ -1407,7 +1407,7 @@ async fn proposer_shuffling_changing_with_lookahead() {
|
|||||||
|
|
||||||
let consolidation_request: ConsolidationRequest = ConsolidationRequest {
|
let consolidation_request: ConsolidationRequest = ConsolidationRequest {
|
||||||
source_address: validator_to_topup
|
source_address: validator_to_topup
|
||||||
.get_execution_withdrawal_address(spec)
|
.get_execution_withdrawal_address(spec, ForkName::Fulu)
|
||||||
.unwrap(),
|
.unwrap(),
|
||||||
source_pubkey: validator_to_topup.pubkey,
|
source_pubkey: validator_to_topup.pubkey,
|
||||||
target_pubkey: validator_to_topup.pubkey,
|
target_pubkey: validator_to_topup.pubkey,
|
||||||
@@ -1486,7 +1486,7 @@ async fn proposer_shuffling_changing_with_lookahead() {
|
|||||||
let validator = current_epoch_state
|
let validator = current_epoch_state
|
||||||
.get_validator(validator_to_topup_index)
|
.get_validator(validator_to_topup_index)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
assert!(validator.has_compounding_withdrawal_credential(spec));
|
assert!(validator.has_compounding_withdrawal_credential(spec, ForkName::Fulu));
|
||||||
assert_eq!(validator.effective_balance, 95_000_000_000);
|
assert_eq!(validator.effective_balance, 95_000_000_000);
|
||||||
|
|
||||||
// The shuffling for the current epoch from `prev_epoch_state` should match the shuffling
|
// The shuffling for the current epoch from `prev_epoch_state` should match the shuffling
|
||||||
|
|||||||
Reference in New Issue
Block a user