mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 03:41:02 +00:00
malus - mockable overseer mvp (#3224)
This commit is contained in:
committed by
GitHub
parent
b64d9885ad
commit
44a8aa23d5
@@ -24,6 +24,7 @@ use {
|
||||
|
||||
mod upgrade;
|
||||
|
||||
#[cfg(any(test,feature = "full-node"))]
|
||||
mod columns {
|
||||
pub const NUM_COLUMNS: u32 = 3;
|
||||
|
||||
@@ -34,6 +35,7 @@ mod columns {
|
||||
}
|
||||
|
||||
/// Columns used by different subsystems.
|
||||
#[cfg(any(test,feature = "full-node"))]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct ColumnsConfig {
|
||||
/// The column used by the av-store for data.
|
||||
@@ -45,6 +47,7 @@ pub struct ColumnsConfig {
|
||||
}
|
||||
|
||||
/// The real columns used by the parachains DB.
|
||||
#[cfg(any(test,feature = "full-node"))]
|
||||
pub const REAL_COLUMNS: ColumnsConfig = ColumnsConfig {
|
||||
col_availability_data: columns::COL_AVAILABILITY_DATA,
|
||||
col_availability_meta: columns::COL_AVAILABILITY_META,
|
||||
|
||||
Reference in New Issue
Block a user