Skip to content

Commit

Permalink
Merge pull request #227 from ralexstokes/docs-logging
Browse files Browse the repository at this point in the history
misc clean ups
  • Loading branch information
ralexstokes authored May 1, 2024
2 parents a03a230 + cabe308 commit 8839751
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion mev-boost-rs/src/relay_mux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ impl BlindedBlockProvider for RelayMux {
return Err(Error::NoBidPrepared(auction_request.clone()))
}

// TODO: change `value` so it does the copy internally
let mut best_bid_indices =
select_best_bids(bids.iter().map(|(_, bid)| bid.message.value()).enumerate());

Expand Down
4 changes: 4 additions & 0 deletions mev-rs/src/types/auction_request.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
use ethereum_consensus::primitives::{BlsPublicKey, Hash32, Slot};

/// Describes a single unique auction.
#[derive(Debug, Default, Clone, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct AuctionRequest {
/// Slot for the proposal
#[serde(with = "crate::serde::as_str")]
pub slot: Slot,
/// Hash of the parent block for the proposal
pub parent_hash: Hash32,
/// Public key of the proposer for the proposal
pub public_key: BlsPublicKey,
}

Expand Down

0 comments on commit 8839751

Please sign in to comment.