session_info: add dispute_period and random_seed (#4547)

This commit is contained in:
Andronik Ordian authored and GitHub committed 2021-12-27 09:03:50 +00:00
1 parent b342ae11d3
commit 9efb223a97
12 files changed
+33

No files matched your search

@@ -686,6 +686,8 @@ pub(crate) mod tests {
no_show_slots: index as _,
needed_approvals: index as _,
active_validator_indices: Vec::new(),
dispute_period: 6,
random_seed: [0u8; 32],
}
}
@@ -1142,6 +1144,8 @@ pub(crate) mod tests {
n_delay_tranches: irrelevant,
no_show_slots: irrelevant,
active_validator_indices: Vec::new(),
dispute_period: 6,
random_seed: [0u8; 32],
};
let slot = Slot::from(10);
@@ -753,6 +753,8 @@ fn session_info(keys: &[Sr25519Keyring]) -> SessionInfo {
n_delay_tranches: 50,
no_show_slots: 2,
active_validator_indices: vec![],
dispute_period: 6,
random_seed: [0u8; 32],
}
}