Add gossip verification stub

This commit is contained in:
Pawan Dhananjay
2022-10-04 17:50:30 -05:00
parent 3d69484f76
commit 9d99c784ea
2 changed files with 162 additions and 1 deletions

View File

@@ -1753,7 +1753,7 @@ fn cheap_state_advance_to_obtain_committees<'a, E: EthSpec>(
}
/// Obtains a read-locked `ValidatorPubkeyCache` from the `chain`.
fn get_validator_pubkey_cache<T: BeaconChainTypes>(
pub fn get_validator_pubkey_cache<T: BeaconChainTypes>(
chain: &BeaconChain<T>,
) -> Result<RwLockReadGuard<ValidatorPubkeyCache<T>>, BlockError<T::EthSpec>> {
chain