mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 08:52:54 +00:00
Update Rust Edition to 2024 (#7766)
* #7749 Thanks @dknopik and @michaelsproul for your help!
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
use crate::{
|
||||
build_block_contents,
|
||||
version::{
|
||||
add_consensus_block_value_header, add_consensus_version_header,
|
||||
ResponseIncludesVersion, add_consensus_block_value_header, add_consensus_version_header,
|
||||
add_execution_payload_blinded_header, add_execution_payload_value_header,
|
||||
add_ssz_content_type_header, beacon_response, inconsistent_fork_rejection,
|
||||
ResponseIncludesVersion,
|
||||
},
|
||||
};
|
||||
use beacon_chain::{
|
||||
@@ -15,8 +14,8 @@ use ssz::Encode;
|
||||
use std::sync::Arc;
|
||||
use types::{payload::BlockProductionVersion, *};
|
||||
use warp::{
|
||||
hyper::{Body, Response},
|
||||
Reply,
|
||||
hyper::{Body, Response},
|
||||
};
|
||||
|
||||
/// If default boost factor is provided in validator/blocks v3 request, we will skip the calculation
|
||||
|
||||
Reference in New Issue
Block a user