We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54844b3 commit f7a0b37Copy full SHA for f7a0b37
beacon_node/beacon_chain/src/beacon_chain.rs
@@ -2049,6 +2049,17 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
2049
}
2050
2051
2052
+
2053
+ if event_handler.has_attestation_subscribers() {
2054
+ let current_fork = self
2055
+ .spec
2056
+ .fork_name_at_slot::<T::EthSpec>(v.attestation().data().slot);
2057
+ if !current_fork.electra_enabled() {
2058
+ event_handler.register(EventKind::Attestation(Box::new(
2059
+ v.attestation().clone_as_attestation(),
2060
+ )));
2061
+ }
2062
2063
2064
metrics::inc_counter(&metrics::UNAGGREGATED_ATTESTATION_PROCESSING_SUCCESSES);
2065
},
0 commit comments