@@ -9,7 +9,7 @@ use cb_common::{
9
9
config:: PbsConfig ,
10
10
pbs:: {
11
11
error:: { PbsError , ValidationError } ,
12
- GetHeaderParams , GetHeaderReponse , RelayClient , SignedExecutionPayloadHeader ,
12
+ GetHeaderParams , GetHeaderResponse , RelayClient , SignedExecutionPayloadHeader ,
13
13
EMPTY_TX_ROOT_HASH , HEADER_SLOT_UUID_KEY , HEADER_START_TIME_UNIX_MS ,
14
14
} ,
15
15
signature:: verify_signed_builder_message,
@@ -34,7 +34,7 @@ pub async fn get_header<S: BuilderApiState>(
34
34
params : GetHeaderParams ,
35
35
req_headers : HeaderMap ,
36
36
state : PbsState < S > ,
37
- ) -> eyre:: Result < Option < GetHeaderReponse > > {
37
+ ) -> eyre:: Result < Option < GetHeaderResponse > > {
38
38
let ms_into_slot = ms_into_slot ( params. slot , state. config . chain ) ;
39
39
let max_timeout_ms = state
40
40
. pbs_config ( )
@@ -97,7 +97,7 @@ async fn send_timed_get_header(
97
97
headers : HeaderMap ,
98
98
ms_into_slot : u64 ,
99
99
mut timeout_left_ms : u64 ,
100
- ) -> Result < Option < GetHeaderReponse > , PbsError > {
100
+ ) -> Result < Option < GetHeaderResponse > , PbsError > {
101
101
let url = relay. get_header_url ( params. slot , params. parent_hash , params. pubkey ) ?;
102
102
103
103
if relay. config . enable_timing_games {
@@ -206,7 +206,7 @@ async fn send_one_get_header(
206
206
skip_sigverify : bool ,
207
207
min_bid_wei : U256 ,
208
208
mut req_config : RequestConfig ,
209
- ) -> Result < ( u64 , Option < GetHeaderReponse > ) , PbsError > {
209
+ ) -> Result < ( u64 , Option < GetHeaderResponse > ) , PbsError > {
210
210
// the timestamp in the header is the consensus block time which is fixed,
211
211
// use the beginning of the request as proxy to make sure we use only the
212
212
// last one received
@@ -257,7 +257,7 @@ async fn send_one_get_header(
257
257
return Ok ( ( start_request_time, None ) ) ;
258
258
}
259
259
260
- let get_header_response: GetHeaderReponse = serde_json:: from_slice ( & response_bytes) ?;
260
+ let get_header_response: GetHeaderResponse = serde_json:: from_slice ( & response_bytes) ?;
261
261
262
262
debug ! (
263
263
latency = ?request_latency,
0 commit comments