@@ -62,6 +62,8 @@ const DEFAULT_ENTRY_POINT_ADDRESS: &str = "0x5FF137D4b0FDCD49DcA30c7CF57E578a026
62
62
const DEFAULT_WILDMETA_API_URL : & str = "https://test-dex-api.heima.network" ;
63
63
const DEFAULT_WILDMETA_BACKEND_ECDSA_PUBKEY : & str =
64
64
"020000000000000000000000000000000000000000000000000000000000000000" ;
65
+ const DEFAULT_BUNDLER_KEY_EXPORT_AUTHORIZED_PUBKEY : & str =
66
+ "020000000000000000000000000000000000000000000000000000000000000000" ;
65
67
66
68
#[ derive( Debug , Clone ) ]
67
69
pub struct MailerConfig {
@@ -108,6 +110,7 @@ pub struct ConfigLoader {
108
110
pub entry_point_address : String ,
109
111
pub wildmeta_api_url : String ,
110
112
pub wildmeta_backend_ecdsa_pubkey : String ,
113
+ pub bundler_key_export_authorized_pubkey : String ,
111
114
}
112
115
113
116
struct EnvVar {
@@ -323,6 +326,15 @@ impl ConfigLoader {
323
326
optional : false ,
324
327
} ,
325
328
) ,
329
+ (
330
+ "bundler_key_export_authorized_pubkey" ,
331
+ EnvVar {
332
+ env_key : "OE_BUNDLER_KEY_EXPORT_AUTHORIZED_PUBKEY" ,
333
+ default : DEFAULT_BUNDLER_KEY_EXPORT_AUTHORIZED_PUBKEY ,
334
+ sensitive : false ,
335
+ optional : false ,
336
+ } ,
337
+ ) ,
326
338
] ) ;
327
339
328
340
let alchemy_key = std:: env:: var ( "OE_ALCHEMY_KEY" ) . unwrap_or_default ( ) ;
@@ -362,6 +374,7 @@ impl ConfigLoader {
362
374
entry_point_address : get ( "entry_point_address" ) ,
363
375
wildmeta_api_url : get ( "wildmeta_api_url" ) ,
364
376
wildmeta_backend_ecdsa_pubkey : get ( "wildmeta_backend_ecdsa_pubkey" ) ,
377
+ bundler_key_export_authorized_pubkey : get ( "bundler_key_export_authorized_pubkey" ) ,
365
378
}
366
379
}
367
380
0 commit comments