@@ -43,7 +43,6 @@ use crate::{
4343} ;
4444
4545use crate :: types:: batch:: AggregatorBatchWeights ;
46- use blockifier:: blockifier_versioned_constants:: VersionedConstants ;
4746use blockifier:: bouncer:: BouncerWeights ;
4847
4948/// Starknet versions supported by the service
@@ -121,8 +120,6 @@ pub struct ConfigParam {
121120 /// * Aggregator Proof
122121 pub store_audit_artifacts : bool ,
123122 pub bouncer_weights_limit : BouncerWeights ,
124- /// Optional versioned constants loaded from file. If None, defaults from blockifier will be used.
125- pub versioned_constants : Option < VersionedConstants > ,
126123 pub aggregator_batch_weights_limit : AggregatorBatchWeights ,
127124}
128125
@@ -212,17 +209,14 @@ impl Config {
212209
213210 let layer = run_cmd. layer . clone ( ) ;
214211
215- let snos_config = SNOSParams :: from ( run_cmd. snos_args . clone ( ) ) ;
216- let versioned_constants = snos_config. versioned_constants . clone ( ) ;
217-
218212 let params = ConfigParam {
219213 madara_rpc_url : run_cmd. madara_rpc_url . clone ( ) ,
220214 madara_feeder_gateway_url : run_cmd
221215 . madara_feeder_gateway_url
222216 . clone ( )
223217 . unwrap_or_else ( || run_cmd. madara_rpc_url . clone ( ) ) ,
224218 madara_version : run_cmd. madara_version ,
225- snos_config,
219+ snos_config : SNOSParams :: from ( run_cmd . snos_args . clone ( ) ) ,
226220 batching_config : BatchingParams :: from ( run_cmd. batching_args . clone ( ) ) ,
227221 service_config : ServiceParams :: from ( run_cmd. service_args . clone ( ) ) ,
228222 server_config : ServerParams :: from ( run_cmd. server_args . clone ( ) ) ,
@@ -231,9 +225,8 @@ impl Config {
231225 prover_layout_name : Self :: get_layout_name ( run_cmd. proving_layout_args . prover_layout_name . clone ( ) . as_str ( ) )
232226 . context ( "Failed to get prover layout name" ) ?,
233227 store_audit_artifacts : run_cmd. store_audit_artifacts ,
234- bouncer_weights_limit : Self :: load_bouncer_weights_limit ( & run_cmd. bouncer_weights_limit_file ) ?,
235- versioned_constants,
236228 aggregator_batch_weights_limit : AggregatorBatchWeights :: from ( & bouncer_weights_limit) ,
229+ bouncer_weights_limit,
237230 } ;
238231 let rpc_client = JsonRpcClient :: new ( HttpTransport :: new ( params. madara_rpc_url . clone ( ) ) ) ;
239232 let feeder_gateway_client = RestClient :: new ( params. madara_feeder_gateway_url . clone ( ) ) ;
0 commit comments