Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
node/approval-voting: Get all module tests to pass.
Browse files Browse the repository at this point in the history
This commit modifies all tests to ensure tests are passing.
  • Loading branch information
Lldenaurois committed Jun 25, 2021
1 parent 5bf68b0 commit 844e56b
Show file tree
Hide file tree
Showing 6 changed files with 413 additions and 325 deletions.
4 changes: 2 additions & 2 deletions node/core/approval-voting/src/approval_db/v1/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ use bitvec::{vec::BitVec, order::Lsb0 as BitOrderLsb0};

pub(crate) const STORED_BLOCKS_KEY: &[u8] = b"Approvals_StoredBlocks";

//#[cfg(test)]
//pub mod tests;
#[cfg(test)]
pub mod tests;

// slot_duration * 2 + DelayTranche gives the number of delay tranches since the
// unix epoch.
Expand Down
Loading

0 comments on commit 844e56b

Please sign in to comment.