Skip to content

Commit 996c140

Browse files
committed
fix
1 parent 53b1be3 commit 996c140

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

beacon_node/beacon_chain/tests/schema_stability.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use store::{
1616
};
1717
use strum::IntoEnumIterator;
1818
use tempfile::{tempdir, TempDir};
19-
use types::{ChainSpec, Hash256, Keypair, MainnetEthSpec};
19+
use types::{ChainSpec, Hash256, Keypair, MainnetEthSpec, Slot};
2020

2121
type E = MainnetEthSpec;
2222
type Store<E> = Arc<HotColdDB<E, BeaconNodeBackend<E>, BeaconNodeBackend<E>>>;
@@ -113,7 +113,9 @@ fn check_db_columns() {
113113

114114
fn insert_data_column_custody_info(store: &Store<E>, spec: &ChainSpec) {
115115
if spec.is_peer_das_scheduled() {
116-
store.put_data_column_custody_info(None).unwrap();
116+
store
117+
.put_data_column_custody_info(Some(Slot::new(0)))
118+
.unwrap();
117119
}
118120
}
119121

0 commit comments

Comments
 (0)