From f85eeda9bc0d85d7214343f305680b18d65ff743 Mon Sep 17 00:00:00 2001 From: Mark Mackey Date: Fri, 8 Mar 2024 11:22:01 +1100 Subject: [PATCH] Address Mac's Comments --- beacon_node/beacon_chain/src/graffiti_calculator.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/beacon_node/beacon_chain/src/graffiti_calculator.rs b/beacon_node/beacon_chain/src/graffiti_calculator.rs index a8818750e1c..4e79547ffa5 100644 --- a/beacon_node/beacon_chain/src/graffiti_calculator.rs +++ b/beacon_node/beacon_chain/src/graffiti_calculator.rs @@ -172,6 +172,16 @@ pub fn start_engine_version_cache_refresh_service( ); return; }; + if matches!( + chain.graffiti_calculator.beacon_graffiti, + GraffitiOrigin::UserSpecified(_) + ) { + debug!( + chain.log, + "Graffiti is user-specified, not starting engine version cache refresh service" + ); + return; + } let execution_layer = el_ref.clone(); let log = chain.log.clone();