@@ -75,8 +75,8 @@ pub struct BuilderConfig {
75
75
) ]
76
76
pub quincey_url : Cow < ' static , str > ,
77
77
/// Port for the Builder server.
78
- #[ from_env( var = "BUILDER_PORT" , desc = "Port for the Builder server" ) ]
79
- pub builder_port : u16 ,
78
+ #[ from_env( var = "BUILDER_PORT" , desc = "Port for the Builder server" , optional ) ]
79
+ pub builder_port : Option < u16 > ,
80
80
/// Key to access Sequencer Wallet - AWS Key ID _OR_ local private key.
81
81
/// Set IFF using local Sequencer signing instead of remote Quincey signing.
82
82
#[ from_env(
@@ -119,30 +119,30 @@ pub struct BuilderConfig {
119
119
pub tx_pool_url : Cow < ' static , str > ,
120
120
/// Duration in seconds transactions can live in the tx-pool cache.
121
121
#[ from_env(
122
- var = "AUTH_TOKEN_REFRESH_INTERVAL " ,
122
+ var = "TX_POOL_CACHE_DURATION " ,
123
123
desc = "Duration in seconds transactions can live in the tx-pool cache"
124
124
) ]
125
125
pub tx_pool_cache_duration : u64 ,
126
126
/// OAuth client ID for the builder.
127
- #[ from_env( var = "TX_POOL_CACHE_DURATION " , desc = "OAuth client ID for the builder" ) ]
127
+ #[ from_env( var = "OAUTH_CLIENT_ID " , desc = "OAuth client ID for the builder" ) ]
128
128
pub oauth_client_id : String ,
129
129
/// OAuth client secret for the builder.
130
- #[ from_env( var = "OAUTH_CLIENT_ID " , desc = "OAuth client secret for the builder" ) ]
130
+ #[ from_env( var = "OAUTH_CLIENT_SECRET " , desc = "OAuth client secret for the builder" ) ]
131
131
pub oauth_client_secret : String ,
132
132
/// OAuth authenticate URL for the builder for performing OAuth logins.
133
133
#[ from_env(
134
- var = "OAUTH_CLIENT_SECRET " ,
134
+ var = "OAUTH_AUTHENTICATE_URL " ,
135
135
desc = "OAuth authenticate URL for the builder for performing OAuth logins"
136
136
) ]
137
137
pub oauth_authenticate_url : String ,
138
138
/// OAuth token URL for the builder to get an OAuth2 access token
139
139
#[ from_env(
140
- var = "OAUTH_AUTHENTICATE_URL " ,
140
+ var = "OAUTH_TOKEN_URL " ,
141
141
desc = "OAuth token URL for the builder to get an OAuth2 access token"
142
142
) ]
143
143
pub oauth_token_url : String ,
144
144
/// The oauth token refresh interval in seconds.
145
- #[ from_env( var = "OAUTH_TOKEN_URL " , desc = "The oauth token refresh interval in seconds" ) ]
145
+ #[ from_env( var = "CONCURRENCY_LIMIT " , desc = "The oauth token refresh interval in seconds" ) ]
146
146
pub oauth_token_refresh_interval : u64 ,
147
147
/// The max number of simultaneous block simulations to run.
148
148
#[ from_env(
0 commit comments