@@ -39,10 +39,8 @@ use tempo_evm::{
3939use tempo_payload_types:: TempoExecutionData ;
4040use tempo_precompiles:: {
4141 ACCOUNT_KEYCHAIN_ADDRESS , NONCE_PRECOMPILE_ADDRESS , STABLECOIN_DEX_ADDRESS ,
42- TIP_FEE_MANAGER_ADDRESS , VALIDATOR_CONFIG_ADDRESS , VALIDATOR_CONFIG_V2_ADDRESS ,
43- account_keychain:: AccountKeychain , nonce:: NonceManager , tip_fee_manager:: TipFeeManager ,
44- tip20:: is_tip20_prefix, validator_config:: ValidatorConfig ,
45- validator_config_v2:: ValidatorConfigV2 ,
42+ TIP_FEE_MANAGER_ADDRESS , account_keychain:: AccountKeychain , nonce:: NonceManager ,
43+ tip_fee_manager:: TipFeeManager , tip20:: is_tip20_prefix,
4644} ;
4745use tempo_primitives:: { Block , TempoHeader , TempoPrimitives , TempoReceipt , TempoTxEnvelope } ;
4846
@@ -107,8 +105,8 @@ impl ZoneEvmFactory {
107105 // one, it still applies privacy, fixed-gas, and bridge-auth rules.
108106 //
109107 // This replaces the upstream `extend_tempo_precompiles` lookup, so we
110- // must also handle the non-TIP-20 Tempo precompiles that are only
111- // registered via that lookup (FeeManager, StablecoinDEX, etc. ).
108+ // must also handle the non-TIP-20 Tempo precompiles that are zone-relevant
109+ // (FeeManager, NonceManager, AccountKeychain ).
112110 // Zone-specific overrides (TIP20Factory, TIP403Proxy) are in the
113111 // static map via `apply_precompile` and take priority over this.
114112 let zone_cfg = cfg. clone ( ) ;
@@ -123,17 +121,11 @@ impl ZoneEvmFactory {
123121 } else if * address == TIP_FEE_MANAGER_ADDRESS {
124122 Some ( TipFeeManager :: create_precompile ( & zone_cfg) )
125123 } else if * address == STABLECOIN_DEX_ADDRESS {
126- // StablecoinDEX is disabled on zones, calls to this address
127- // fall through to `None` and revert as an empty account.
128124 None
129125 } else if * address == NONCE_PRECOMPILE_ADDRESS {
130126 Some ( NonceManager :: create_precompile ( & zone_cfg) )
131- } else if * address == VALIDATOR_CONFIG_ADDRESS {
132- Some ( ValidatorConfig :: create_precompile ( & zone_cfg) )
133127 } else if * address == ACCOUNT_KEYCHAIN_ADDRESS {
134128 Some ( AccountKeychain :: create_precompile ( & zone_cfg) )
135- } else if * address == VALIDATOR_CONFIG_V2_ADDRESS {
136- Some ( ValidatorConfigV2 :: create_precompile ( & zone_cfg) )
137129 } else {
138130 None
139131 }
0 commit comments