Skip to content

Commit 53b1be3

Browse files
committed
fix test
1 parent d06627e commit 53b1be3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

beacon_node/beacon_chain/tests/schema_stability.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ async fn schema_stability() {
8686

8787
chain.persist_op_pool().unwrap();
8888
chain.persist_custody_context().unwrap();
89+
insert_data_column_custody_info(&store, &harness.spec);
8990

9091
check_db_columns();
9192
check_metadata_sizes(&store);
@@ -110,6 +111,12 @@ fn check_db_columns() {
110111
assert_eq!(expected_columns, current_columns);
111112
}
112113

114+
fn insert_data_column_custody_info(store: &Store<E>, spec: &ChainSpec) {
115+
if spec.is_peer_das_scheduled() {
116+
store.put_data_column_custody_info(None).unwrap();
117+
}
118+
}
119+
113120
/// Check the SSZ sizes of known on-disk metadata.
114121
///
115122
/// New types can be added here as the schema evolves.

0 commit comments

Comments
 (0)