We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d06627e commit 53b1be3Copy full SHA for 53b1be3
beacon_node/beacon_chain/tests/schema_stability.rs
@@ -86,6 +86,7 @@ async fn schema_stability() {
86
87
chain.persist_op_pool().unwrap();
88
chain.persist_custody_context().unwrap();
89
+ insert_data_column_custody_info(&store, &harness.spec);
90
91
check_db_columns();
92
check_metadata_sizes(&store);
@@ -110,6 +111,12 @@ fn check_db_columns() {
110
111
assert_eq!(expected_columns, current_columns);
112
}
113
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
+
120
/// Check the SSZ sizes of known on-disk metadata.
121
///
122
/// New types can be added here as the schema evolves.
0 commit comments