Skip to content

Commit

Permalink
Merge pull request #934 from hirosystems/release/next
Browse files Browse the repository at this point in the history
Release/next
  • Loading branch information
Ludo Galabru authored Mar 15, 2023
2 parents d8af8f6 + 46315f8 commit f484c59
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 27 deletions.
40 changes: 20 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/clarinet-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clarinet-cli"
version = "1.5.0"
version = "1.5.1"
authors = ["Ludo Galabru <[email protected]>", "Brice Dobry <[email protected]>"]
edition = "2021"
description = "Clarinet is a simple, modern and opinionated runtime for testing, integrating and deploying Clarity smart contracts."
Expand Down
2 changes: 1 addition & 1 deletion components/clarity-repl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clarity-repl"
version = "1.5.0"
version = "1.5.1"
description = "Clarity REPL"
authors = [
"Ludo Galabru <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion components/stacks-devnet-js/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stacks-devnet-js"
version = "1.5.0"
version = "1.5.1"
license = "ISC"
edition = "2018"
exclude = ["index.node"]
Expand Down
2 changes: 1 addition & 1 deletion components/stacks-devnet-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hirosystems/stacks-devnet-js",
"version": "1.5.0",
"version": "1.5.1",
"description": "stacks-devnet-js is a library for writing end to end tests for protocols interacting with the Stacks blockchain and the Bitcoin blockchain.",
"author": "Ludo Galabru",
"repository": "https://github.com/hirosystems/clarinet/tree/main/components/stacks-devnet-js",
Expand Down
2 changes: 1 addition & 1 deletion components/stacks-network/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stacks-network"
version = "1.5.0"
version = "1.5.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
3 changes: 3 additions & 0 deletions components/stacks-network/src/chains_coordinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,9 @@ pub async fn start_chains_coordinator(
};
let _ = devnet_event_tx.send(DevnetEvent::info(message));

let stacks_rpc = StacksRpc::new(&config.consolidated_stacks_rpc_url());
let _ = stacks_rpc.get_pox_info();

let should_submit_pox_orders = known_tip.block.metadata.pox_cycle_position
== (known_tip.block.metadata.pox_cycle_length - 2);
if should_submit_pox_orders {
Expand Down
7 changes: 5 additions & 2 deletions components/stacks-network/src/orchestrator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -688,9 +688,12 @@ rpcport={bitcoin_node_rpc_port}
bitcoin_node_rpc_port = devnet_config.bitcoin_node_rpc_port,
);
let mut bitcoind_conf_path = PathBuf::from(&devnet_config.working_dir);
bitcoind_conf_path.push("conf/bitcoin.conf");
bitcoind_conf_path.push("conf");
fs::create_dir_all(&bitcoind_conf_path)
.map_err(|e| format!("unable to create bitcoin conf directory: {}", e.to_string()))?;
bitcoind_conf_path.push("bitcoin.conf");
let mut file = File::create(bitcoind_conf_path)
.map_err(|e| format!("unable to create bitcoin.conf: {:?}", e))?;
.map_err(|e| format!("unable to create bitcoin.conf: {}", e.to_string()))?;

file.write_all(bitcoind_conf.as_bytes())
.map_err(|e| format!("unable to write bitcoin.conf: {:?}", e))?;
Expand Down

0 comments on commit f484c59

Please sign in to comment.