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 0091555 commit 9c100c2Copy full SHA for 9c100c2
types/src/v0/impls/stake_table.rs
@@ -1699,7 +1699,7 @@ impl EpochCommittees {
1699
let da_members = da_committees
1700
.get(&Epoch::new(0))
1701
.cloned()
1702
- .expect("Should always have an epoch 0 DA committee");
+ .unwrap_or_default(); // For testing reasons, we want to support being given an empty map
1703
1704
// For each member, get the stake table entry
1705
let stake_table: Vec<_> = committee_members
0 commit comments