Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gd-0 committed Feb 3, 2024
1 parent 908712e commit 6f53dd9
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions crates/api/src/builder/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -627,11 +627,8 @@ mod tests {
);

let mut signed_bid_submission: SignedBidSubmission = load_bid_submission();
signed_bid_submission.message_mut().proposer_public_key = get_valid_payload_register_validator(None)
.entry
.registration
.message
.public_key;
signed_bid_submission.message_mut().proposer_public_key =
get_valid_payload_register_validator(None).entry.registration.message.public_key;

// Send JSON encoded request
let resp = send_request(
Expand Down Expand Up @@ -901,11 +898,8 @@ mod tests {
}
_ => panic!("unexpected execution payload type"),
}
signed_bid_submission.message_mut().proposer_public_key = get_valid_payload_register_validator(None)
.entry
.registration
.message
.public_key;
signed_bid_submission.message_mut().proposer_public_key =
get_valid_payload_register_validator(None).entry.registration.message.public_key;

// Send JSON encoded request
let resp = reqwest::Client::new()
Expand Down Expand Up @@ -953,11 +947,8 @@ mod tests {
Some(CAPELLA_FORK_EPOCH * SLOTS_PER_EPOCH + 1),
Some(1681338467),
);
signed_bid_submission.message_mut().proposer_public_key = get_valid_payload_register_validator(None)
.entry
.registration
.message
.public_key;
signed_bid_submission.message_mut().proposer_public_key =
get_valid_payload_register_validator(None).entry.registration.message.public_key;

// Send JSON encoded request
let resp = reqwest::Client::new()
Expand Down

0 comments on commit 6f53dd9

Please sign in to comment.