Skip to content

Commit 2c501b7

Browse files
authored
Merge branch 'develop' into ci/fix-develop-tests
2 parents 7b04730 + a7e9237 commit 2c501b7

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

clarity/src/vm/functions/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@ macro_rules! switch_on_global_epoch {
6464
};
6565
}
6666

67-
use crate::vm::ClarityVersion;
68-
6967
use super::errors::InterpreterError;
68+
use crate::vm::ClarityVersion;
7069

7170
mod arithmetic;
7271
mod assets;

testnet/stacks-node/src/burnchains/bitcoin_regtest_controller.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2350,7 +2350,8 @@ impl BitcoinRPCRequest {
23502350
pub fn send_raw_transaction(config: &Config, tx: String) -> RPCResult<()> {
23512351
let payload = BitcoinRPCRequest {
23522352
method: "sendrawtransaction".to_string(),
2353-
params: vec![tx.into()],
2353+
// set maxfee (as uncapped) and maxburncap (new in bitcoin 25)
2354+
params: vec![tx.into(), 0.into(), 1_000_000.into()],
23542355
id: "stacks".to_string(),
23552356
jsonrpc: "2.0".to_string(),
23562357
};

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)