mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
chore: remove unused config table (#1611)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
This commit is contained in:
@@ -32,7 +32,7 @@ pub enum TableType {
|
||||
}
|
||||
|
||||
/// Default tables that should be present inside database.
|
||||
pub const TABLES: [(TableType, &str); 27] = [
|
||||
pub const TABLES: [(TableType, &str); 26] = [
|
||||
(TableType::Table, CanonicalHeaders::const_name()),
|
||||
(TableType::Table, HeaderTD::const_name()),
|
||||
(TableType::Table, HeaderNumbers::const_name()),
|
||||
@@ -58,7 +58,6 @@ pub const TABLES: [(TableType, &str); 27] = [
|
||||
(TableType::Table, AccountsTrie::const_name()),
|
||||
(TableType::DupSort, StoragesTrie::const_name()),
|
||||
(TableType::Table, TxSenders::const_name()),
|
||||
(TableType::Table, Config::const_name()),
|
||||
(TableType::Table, SyncStage::const_name()),
|
||||
];
|
||||
|
||||
@@ -289,11 +288,6 @@ table!(
|
||||
( TxSenders ) TxNumber | Address
|
||||
);
|
||||
|
||||
table!(
|
||||
/// Configuration values.
|
||||
( Config ) ConfigKey | ConfigValue
|
||||
);
|
||||
|
||||
table!(
|
||||
/// Stores the highest synced block number of each stage.
|
||||
( SyncStage ) StageId | BlockNumber
|
||||
@@ -311,9 +305,5 @@ pub type StageId = Vec<u8>;
|
||||
// TODO: Temporary types, until they're properly defined alongside with the Encode and Decode Trait
|
||||
//
|
||||
|
||||
/// Temporary placeholder type for DB.
|
||||
pub type ConfigKey = Vec<u8>;
|
||||
/// Temporary placeholder type for DB.
|
||||
pub type ConfigValue = Vec<u8>;
|
||||
/// Temporary placeholder type for DB.
|
||||
pub type Bytecode = Vec<u8>;
|
||||
|
||||
Reference in New Issue
Block a user