Skip to content

Commit

Permalink
chore: release 2.5.0 (#1419)
Browse files Browse the repository at this point in the history
* chore: release 2.5.0

* fix: stacking orders logic and defaults

* fix: remove root package.json
  • Loading branch information
hugocaillard authored Apr 15, 2024
1 parent a7bd073 commit 22e10c2
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 35 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# [2.5.0](https://github.com/hirosystems/clarinet/compare/v2.4.1...v2.5.0) (2024-04-15)

##### New Features

* Improved epoch 2.5 support (#1418) (397d8a49)
* Enable boot contracts coverage (#1412) (c5709640)
* Introduce the stacks-codec component (#1399) (83e13831)

##### Chores

* Update dependencies (#1415) (38824a8b)
* Update pox-4.clar (#1409) (a5b3ffbd)

##### Bug Fixes

* Improve error message in sdk custom matchers (#1417) (a7bd0738)
* Allow epoch 2.5 in clarinet-sdk (#1414) (19747e38)

# [2.4.1](https://github.com/hirosystems/clarinet/compare/v2.4.0...v2.4.1) (2024-03-25)

##### Fix
Expand Down
35 changes: 17 additions & 18 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 = "2.4.1"
version = "2.5.0"
authors = ["Ludo Galabru <ludo@hiro.so>", "Brice Dobry <brice@hiro.so>"]
edition = "2021"
description = "Clarinet is a simple, modern and opinionated runtime for testing, integrating and deploying Clarity smart contracts."
Expand Down
6 changes: 3 additions & 3 deletions components/clarinet-cli/src/generate/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,21 +414,21 @@ disable_stacks_api = false
# Send some stacking orders
[[devnet.pox_stacking_orders]]
start_at_cycle = 2
start_at_cycle = 1
duration = 12
wallet = "wallet_1"
slots = 2
btc_address = "mr1iPkD9N3RJZZxXRk7xF9d36gffa6exNC"
[[devnet.pox_stacking_orders]]
start_at_cycle = 2
start_at_cycle = 1
duration = 12
wallet = "wallet_2"
slots = 1
btc_address = "muYdXKmX9bByAueDe6KFfHd5Ff1gdN9ErG"
[[devnet.pox_stacking_orders]]
start_at_cycle = 2
start_at_cycle = 1
duration = 12
wallet = "wallet_3"
slots = 1
Expand Down
2 changes: 1 addition & 1 deletion components/clarinet-deployments/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clarinet-deployments"
version = "2.4.1"
version = "2.5.0"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion components/clarinet-files/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "clarinet-files"
description = "Clarinet manifests files helpers"
license = "GPL-3.0"
version = "2.4.1"
version = "2.5.0"
edition = "2021"

[dependencies]
Expand Down
3 changes: 1 addition & 2 deletions components/clarinet-sdk-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "clarinet-sdk-wasm"
version = "2.5.0-beta2"
version = "2.5.0"
license = "GPL-3.0"
repository = "https://github.com/hirosystems/clarinet"
description = "The core lib that powers @hirosystems/clarinet-sdk"
Expand All @@ -22,7 +22,6 @@ wasm-bindgen = { version = "0.2.91", optional = true }
wasm-bindgen-futures = { version = "0.4.41", optional = true }
web-sys = { version = "0.3", features = ["console"], optional = true }
colored = "2.1.0"
hashbrown = { version = "0.14.3", features = ["serde"]}

clarinet-files = { path = "../clarinet-files", default-features = false }
clarity-repl = { path = "../clarity-repl", default-features = false, optional = true }
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 = "2.4.1"
version = "2.5.0"
description = "Clarity REPL"
authors = [
"Ludo Galabru <ludo@hiro.so>",
Expand Down
2 changes: 1 addition & 1 deletion components/stacks-codec/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stacks-codec"
version = "2.4.1"
version = "2.5.0"
license = "GPL-3.0"
edition = "2021"
description = "Stack wire format implementation"
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 = "2.4.1"
version = "2.5.0"
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": "2.4.1",
"version": "2.5.0",
"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 = "2.4.1"
version = "2.5.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
3 changes: 1 addition & 2 deletions components/stacks-network/src/chains_coordinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,7 @@ pub async fn publish_stacking_orders(
let pox_cycle_length = pox_info.reward_cycle_length;
let pox_cycle_position = effective_height % pox_cycle_length;

let should_submit_pox_orders = pox_cycle_position == 10;
if !should_submit_pox_orders {
if pox_cycle_position != 10 {
return None;
}

Expand Down
2 changes: 1 addition & 1 deletion components/stacks-network/src/ui/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ fn draw_block_details(f: &mut Frame, area: Rect, block: &StacksBlockData) {
Paragraph::new("PoX informations").style(Style::default().add_modifier(Modifier::BOLD));
f.render_widget(title, labels[7]);

let label = format!("PoX Cycle: {}", block.metadata.pox_cycle_index + 1);
let label = format!("PoX Cycle: {}", block.metadata.pox_cycle_index);
let paragraph = Paragraph::new(label);
f.render_widget(paragraph, labels[8]);

Expand Down
2 changes: 1 addition & 1 deletion components/stacks-rpc-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stacks-rpc-client"
version = "2.4.1"
version = "2.5.0"
description = "HTTP Client for the Stacks blockchain"
license = "GPL-3.0"
edition = "2021"
Expand Down

0 comments on commit 22e10c2

Please sign in to comment.