diff --git a/beacon_node/beacon_chain/src/beacon_block_reward.rs b/beacon_node/beacon_chain/src/beacon_block_reward.rs index 3f186c37c1..786402c997 100644 --- a/beacon_node/beacon_chain/src/beacon_block_reward.rs +++ b/beacon_node/beacon_chain/src/beacon_block_reward.rs @@ -15,12 +15,12 @@ use store::{ consts::altair::{PARTICIPATION_FLAG_WEIGHTS, PROPOSER_WEIGHT, WEIGHT_DENOMINATOR}, RelativeEpoch, }; -use types::{BeaconBlockRef, BeaconState, BeaconStateError, ExecPayload, Hash256}; +use types::{AbstractExecPayload, BeaconBlockRef, BeaconState, BeaconStateError, Hash256}; type BeaconBlockSubRewardValue = u64; impl BeaconChain { - pub fn compute_beacon_block_reward>( + pub fn compute_beacon_block_reward>( &self, block: BeaconBlockRef<'_, T::EthSpec, Payload>, block_root: Hash256, @@ -97,7 +97,7 @@ impl BeaconChain { }) } - fn compute_beacon_block_sync_aggregate_reward>( + fn compute_beacon_block_sync_aggregate_reward>( &self, block: BeaconBlockRef<'_, T::EthSpec, Payload>, state: &BeaconState, @@ -111,7 +111,7 @@ impl BeaconChain { } } - fn compute_beacon_block_proposer_slashing_reward>( + fn compute_beacon_block_proposer_slashing_reward>( &self, block: BeaconBlockRef<'_, T::EthSpec, Payload>, state: &BeaconState, @@ -132,7 +132,7 @@ impl BeaconChain { Ok(proposer_slashing_reward) } - fn compute_beacon_block_attester_slashing_reward>( + fn compute_beacon_block_attester_slashing_reward>( &self, block: BeaconBlockRef<'_, T::EthSpec, Payload>, state: &BeaconState, @@ -155,7 +155,7 @@ impl BeaconChain { Ok(attester_slashing_reward) } - fn compute_beacon_block_attestation_reward_base>( + fn compute_beacon_block_attestation_reward_base>( &self, block: BeaconBlockRef<'_, T::EthSpec, Payload>, block_root: Hash256, @@ -173,7 +173,7 @@ impl BeaconChain { Ok(block_attestation_reward) } - fn compute_beacon_block_attestation_reward_altair>( + fn compute_beacon_block_attestation_reward_altair>( &self, block: BeaconBlockRef<'_, T::EthSpec, Payload>, state: &mut BeaconState,