Update Rust Edition to 2024 (#7766)

* #7749

Thanks @dknopik and @michaelsproul for your help!
This commit is contained in:
chonghe
2025-08-13 11:04:31 +08:00
committed by GitHub
parent bd6b8b6a65
commit 522bd9e9c6
468 changed files with 3594 additions and 3396 deletions

View File

@@ -1,21 +1,21 @@
use beacon_chain::{
ChainConfig,
persisted_beacon_chain::PersistedBeaconChain,
persisted_custody::PersistedCustody,
test_utils::{test_spec, BeaconChainHarness, DiskHarnessType},
ChainConfig,
test_utils::{BeaconChainHarness, DiskHarnessType, test_spec},
};
use logging::create_test_tracing_subscriber;
use operation_pool::PersistedOperationPool;
use ssz::Encode;
use std::sync::{Arc, LazyLock};
use store::{
DBColumn, HotColdDB, StoreConfig, StoreItem,
database::interface::BeaconNodeBackend,
hot_cold_store::Split,
metadata::{DataColumnCustodyInfo, DataColumnInfo},
DBColumn, HotColdDB, StoreConfig, StoreItem,
};
use strum::IntoEnumIterator;
use tempfile::{tempdir, TempDir};
use tempfile::{TempDir, tempdir};
use types::{ChainSpec, Hash256, Keypair, MainnetEthSpec, Slot};
type E = MainnetEthSpec;