@@ -54,8 +54,8 @@ use types::{
5454 primitives:: ColumnIndex ,
5555 } ,
5656 gloas:: containers:: {
57- DataColumnSidecar as GloasDataColumnSidecar , ExecutionPayloadBid ,
58- PayloadAttestationMessage , SignedExecutionPayloadBid , SignedExecutionPayloadEnvelope ,
57+ DataColumnSidecar as GloasDataColumnSidecar , PayloadAttestationMessage ,
58+ SignedExecutionPayloadBid , SignedExecutionPayloadEnvelope ,
5959 } ,
6060 nonstandard:: { BlobSidecarWithId , DataColumnSidecarWithId , PayloadStatus , Phase , WithStatus } ,
6161 phase0:: {
@@ -234,7 +234,7 @@ pub struct Store<P: Preset, S: Storage<P>> {
234234 ( Slot , H256 , ColumnIndex ) ,
235235 ContiguousList < KzgCommitment , P :: MaxBlobCommitmentsPerBlock > ,
236236 > ,
237- accepted_payload_bids : HashMap < Slot , HashMap < ValidatorIndex , ExecutionPayloadBid > > ,
237+ accepted_payload_bids : HashMap < Slot , HashMap < ValidatorIndex , SignedExecutionPayloadBid > > ,
238238 blob_cache : BlobCache < P > ,
239239 state_cache : Arc < StateCacheProcessor < P > > ,
240240 storage : Arc < S > ,
@@ -1359,10 +1359,10 @@ impl<P: Preset, S: Storage<P>> Store<P, S> {
13591359 // > this bid is the highest value bid seen for the corresponding slot and the given parent block hash.
13601360 if let Some ( highest_bid) = payload_bids
13611361 . values ( )
1362- . filter ( |b| b. parent_block_hash == bid. parent_block_hash )
1363- . max_by_key ( |bid| bid . value )
1362+ . filter ( |b| b. message . parent_block_hash == bid. parent_block_hash )
1363+ . max_by_key ( |b| b . message . value )
13641364 {
1365- if bid. value <= highest_bid. value {
1365+ if bid. value <= highest_bid. message . value {
13661366 // This bid doesn't have a higher value than the existing bid
13671367 return Ok ( ExecutionPayloadBidAction :: Ignore ( true ) ) ;
13681368 }
@@ -2971,7 +2971,7 @@ impl<P: Preset, S: Storage<P>> Store<P, S> {
29712971 let bid = payload_bid. message ;
29722972 let accepted_bids = self . accepted_payload_bids . entry ( bid. slot ) . or_default ( ) ;
29732973
2974- accepted_bids. insert ( bid. builder_index , payload_bid. message ) ;
2974+ accepted_bids. insert ( bid. builder_index , * payload_bid) ;
29752975 }
29762976
29772977 pub fn apply_data_column_sidecar ( & mut self , data_sidecar : Arc < DataColumnSidecar < P > > ) {
0 commit comments