Skip to content

Commit a7e9237

Browse files
authored
Merge pull request #4136 from stacks-network/bugfix/stackerdb-dkg-test
Fix stackerdb tests
2 parents a6741ce + d1f834d commit a7e9237

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

testnet/stacks-node/src/tests/signer.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,11 @@ fn setup_stx_btc_node(
133133

134134
info!("Send pox contract-publish...");
135135

136+
let tx_fee = 100_000;
136137
let tx = make_contract_publish(
137138
publisher_private_key,
138139
0,
139-
10_000,
140+
tx_fee,
140141
&pox_contract_id.name,
141142
pox_contract,
142143
);
@@ -146,7 +147,7 @@ fn setup_stx_btc_node(
146147
let tx = make_contract_publish(
147148
publisher_private_key,
148149
1,
149-
10_000,
150+
tx_fee,
150151
&stackerdb_contract_id.name,
151152
stackerdb_contract,
152153
);
@@ -188,6 +189,7 @@ pub fn build_pox_contract(num_signers: u32) -> String {
188189
}
189190

190191
#[test]
192+
#[ignore]
191193
fn test_stackerdb_dkg() {
192194
if env::var("BITCOIND_TEST") != Ok("1".into()) {
193195
return;
@@ -199,8 +201,8 @@ fn test_stackerdb_dkg() {
199201
.init();
200202

201203
// Generate Signer Data
202-
let num_signers: u32 = 100;
203-
let num_keys: u32 = 4000;
204+
let num_signers: u32 = 10;
205+
let num_keys: u32 = 400;
204206
let publisher_private_key = StacksPrivateKey::new();
205207
let signer_stacks_private_keys = (0..num_signers)
206208
.map(|_| StacksPrivateKey::new())

0 commit comments

Comments
 (0)