mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-30 20:52:12 +08:00
fix: disable relevant unit tests that assume 14 stacker signer slots
This commit is contained in:
@@ -738,7 +738,7 @@ mod tests {
|
||||
};
|
||||
use rand::thread_rng;
|
||||
use rand_core::RngCore;
|
||||
use stacks_common::consts::{CHAIN_ID_TESTNET, SIGNER_SLOTS_PER_USER};
|
||||
use stacks_common::consts::CHAIN_ID_TESTNET;
|
||||
use wsts::curve::scalar::Scalar;
|
||||
|
||||
use super::*;
|
||||
@@ -1121,9 +1121,13 @@ mod tests {
|
||||
|
||||
let signer_slots = mock.client.parse_signer_slots(value).unwrap();
|
||||
assert_eq!(signer_slots.len(), 5);
|
||||
|
||||
/*
|
||||
* This is disabled until the number of slots is again 14
|
||||
signer_slots
|
||||
.into_iter()
|
||||
.for_each(|(_address, slots)| assert_eq!(slots, SIGNER_SLOTS_PER_USER as u128));
|
||||
*/
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user