Skip to content

Commit 8f2886c

Browse files
authored
Merge pull request #167 from hirosystems/main
chore: update develop branch
2 parents b3cb7a9 + 25e604e commit 8f2886c

File tree

15 files changed

+1212
-1137
lines changed

15 files changed

+1212
-1137
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
paths-ignore:
88
- "**/CHANGELOG.md"
99
- "**/package.json"
10+
- "**/package-lock.json"
1011
- "**/Cargo.toml"
1112
- "**/Cargo.lock"
1213
branches:
@@ -299,7 +300,7 @@ jobs:
299300

300301
- name: Compress node artifact
301302
shell: bash
302-
run: tar -C node-bindings -zcvf clarinet-js-${{ matrix.platform }}-${{ matrix.architecture }}.tar.gz native/index.node
303+
run: tar -C node-bindings -zcvf stacks-devnet-js-${{ matrix.platform }}-${{ matrix.architecture }}.tar.gz native/index.node
303304

304305
# Separate uploads to prevent paths from being preserved
305306
- name: Upload cargo artifacts (Not Windows)
@@ -319,8 +320,8 @@ jobs:
319320
- name: Upload node artifact
320321
uses: actions/upload-artifact@v2
321322
with:
322-
name: clarinet-js-${{ matrix.platform }}-${{ matrix.architecture }}
323-
path: clarinet-js-${{ matrix.platform }}-${{ matrix.architecture }}.tar.gz
323+
name: stacks-devnet-js-${{ matrix.platform }}-${{ matrix.architecture }}
324+
path: stacks-devnet-js-${{ matrix.platform }}-${{ matrix.architecture }}.tar.gz
324325

325326
- name: Unit Tests - Cargo
326327
run: cargo test --release --locked --target ${{ matrix.target }}
@@ -348,7 +349,7 @@ jobs:
348349
if: startsWith(github.ref, 'refs/tags/v') && matrix.os != 'windows-latest'
349350
with:
350351
repo_token: ${{ secrets.GITHUB_TOKEN }}
351-
file: clarinet-${{ matrix.platform }}-${{ matrix.architecture }}.zip
352+
file: clarinet-${{ matrix.platform }}-${{ matrix.architecture }}.tar.gz
352353
tag: ${{ github.ref }}
353354

354355
- name: Upload Artifacts to GH release (Windows)
@@ -441,6 +442,7 @@ jobs:
441442
uses: cycjimmy/semantic-release-action@v2
442443
env:
443444
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
445+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
444446
SEMANTIC_RELEASE_PACKAGE: ${{ github.event.repository.name }}
445447
with:
446448
extra_plugins: |

.github/workflows/rustdoc.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
## [0.19.1](https://github.com/hirosystems/clarinet/compare/v0.19.0...v0.19.1) (2021-12-06)
2+
3+
4+
### Bug Fixes
5+
6+
* update package name ([6477408](https://github.com/hirosystems/clarinet/commit/647740816577ba7faa978281ac83fc3485e929fa))
7+
8+
# [0.19.0](https://github.com/hirosystems/clarinet/compare/v0.18.3...v0.19.0) (2021-12-06)
9+
10+
11+
### Bug Fixes
12+
13+
* add 128bit numbers support ([a87a99c](https://github.com/hirosystems/clarinet/commit/a87a99c99e8377d7cef0eeb331dd537702dae588))
14+
* address feedbacks ([4a74c51](https://github.com/hirosystems/clarinet/commit/4a74c51f592ac68fd6948d7818fa5ff18f9eb7d2))
15+
* better event management ([bd1e9c3](https://github.com/hirosystems/clarinet/commit/bd1e9c30e87b78af99178f4144a9ae47032d7f9f))
16+
* build ([b8d1ac7](https://github.com/hirosystems/clarinet/commit/b8d1ac727dd6ce4d84032044ca3c6372cfe33774))
17+
* deployment fee rate can be too low ([1fa7564](https://github.com/hirosystems/clarinet/commit/1fa756426f12689aace74b46a23e6bbaec10597d))
18+
* deployment_fee_rate not being used ([940f17d](https://github.com/hirosystems/clarinet/commit/940f17dbb4e33fe315bf9e799503d61974d3a236))
19+
* dropped request ([c777d91](https://github.com/hirosystems/clarinet/commit/c777d9122a5e0323e26be4c0c609fa391a1be5e3))
20+
* error message ([bb1c5c7](https://github.com/hirosystems/clarinet/commit/bb1c5c7de89622fc04fff85172780d676501cfa7))
21+
* fee too low (stacking orders) ([90d46b7](https://github.com/hirosystems/clarinet/commit/90d46b759dd17f22da7c12a3cae954523b7c62a7))
22+
* ignore RUSTSEC-2021-0124 ([b4b570a](https://github.com/hirosystems/clarinet/commit/b4b570a20a7115a8b8ae3b5fe0616777beca2d3d))
23+
* incorrect error message ([ac48d31](https://github.com/hirosystems/clarinet/commit/ac48d318a84bd0515640ec09fab22f8dd50cee3d))
24+
* infinite iter ([1ab975a](https://github.com/hirosystems/clarinet/commit/1ab975aeee561baa6813f06db24f0025d532a3eb))
25+
* nested runtimes / switch to futures ([26d60b7](https://github.com/hirosystems/clarinet/commit/26d60b7d9a04b6c5fcd7971fe0f64feaf7ea3d9f))
26+
* package name ([e8dc71b](https://github.com/hirosystems/clarinet/commit/e8dc71bcb374f02c3c553d3d850ba7b2b68f0ab3))
27+
* return type ([52a37bf](https://github.com/hirosystems/clarinet/commit/52a37bfc2cb23942c96b8696253180de96d81ecd))
28+
* StacksRpc internal improvements ([2bf6c52](https://github.com/hirosystems/clarinet/commit/2bf6c52d44ccf2d4f68bee407fba61074286fa50))
29+
* STXLockEventData unlock_height type ([927acfe](https://github.com/hirosystems/clarinet/commit/927acfe9ed4069725bc1b8313e968883bb6b8b62))
30+
* testnet / mainnet deployment ([b49056b](https://github.com/hirosystems/clarinet/commit/b49056ba4db966c86086f05bf25ec03f4a02e423))
31+
* tsconfig adjustments ([4f5320e](https://github.com/hirosystems/clarinet/commit/4f5320e23030099add3ee12eabbb92c58975d82f))
32+
* typos ([669d94b](https://github.com/hirosystems/clarinet/commit/669d94b2c183f1ae641d77a61ff4125eda5c4a66))
33+
* update lib name ([9041ff8](https://github.com/hirosystems/clarinet/commit/9041ff829f8edff19a50e8c7aa3e8bf017b70c07))
34+
* update node bindings ([cf29e00](https://github.com/hirosystems/clarinet/commit/cf29e00a757a35b603d06b8140b343d3ba843f72))
35+
* update types/node + package.json ([7fdb417](https://github.com/hirosystems/clarinet/commit/7fdb417fbe39c1e0d5d7f7124ceba03c9ecb8250))
36+
* warnings, remove rustdoc ([c81d7a7](https://github.com/hirosystems/clarinet/commit/c81d7a7f0b887b9cb23642ec3232fd11a638d563))
37+
38+
39+
### Features
40+
41+
* add expectFungibleTokenBurnEvent ([0a77641](https://github.com/hirosystems/clarinet/commit/0a77641d685d53eeda2db0e0c79e37415409a3a4))
42+
* add expectNonFungibleTokenBurnEvent ([b33be1b](https://github.com/hirosystems/clarinet/commit/b33be1ba31d57f0845ef2e2c5439b40988dc0bf4))
43+
* add expectNonFungibleTokenMintEvent ([1bcf5b1](https://github.com/hirosystems/clarinet/commit/1bcf5b1aa2eb7a574c68229c89c9cc5a38ad722b))
44+
* add stacks / bitcoin specific metadata for blocks / transactions ([59d66ee](https://github.com/hirosystems/clarinet/commit/59d66eec7fdbc63f29bdf041caaedff28b22969e))
45+
* closing the loop ([e80a6dc](https://github.com/hirosystems/clarinet/commit/e80a6dc434042307375639d9b831b06b79c0f3c8))
46+
* expose get_stacks_node_url for stacks.js ([f1f8bed](https://github.com/hirosystems/clarinet/commit/f1f8bed146add3c0ecbfdaf0ab4db3b3b5b4c21a))
47+
* improve api ([2f72f6d](https://github.com/hirosystems/clarinet/commit/2f72f6dc70142670a2ac0acbf11394d01f34518b))
48+
* introduce new schemas for block / transaction handling ([01501d9](https://github.com/hirosystems/clarinet/commit/01501d97d4da55b64f090365353b3d4e8f2a73d6))
49+
* migrate to typescript ([dd55845](https://github.com/hirosystems/clarinet/commit/dd55845ab554958a0e7b73fc447efdbb473a1c49))
50+
* polish stacks operations schemas ([cb939f4](https://github.com/hirosystems/clarinet/commit/cb939f4b550514dbae5a27aafd5c254063c1dcd0))
51+
152
# [0.18.0](https://github.com/hirosystems/clarinet/compare/v0.17.0...v0.18.0) (2021-10-18)
253

354

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clarinet"
3-
version = "0.18.0"
3+
version = "0.19.1"
44
authors = ["Ludo Galabru <ludo@hiro.so>"]
55
edition = "2018"
66
description = "Clarinet is a clarity runtime packaged as a command line tool, designed to facilitate smart contract understanding, development, testing and deployment."

node-bindings/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node-bindings/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "stacks-devnet-js"
3-
version = "0.1.0"
3+
version = "0.19.1"
44
license = "ISC"
55
edition = "2018"
66
exclude = ["index.node"]

node-bindings/package-lock.json

Lines changed: 31 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node-bindings/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "stacks-devnet-js",
3-
"version": "0.18.3",
2+
"name": "@hirosystems/stacks-devnet-js",
3+
"version": "0.19.1",
44
"description": "stacks-devnet-js is a library for writing end to end tests for protocols interacting with the Stacks blockchain and the Bitcoin blockchain.",
55
"author": "Ludo Galabru",
66
"license": "GPL-3.0",
@@ -30,7 +30,7 @@
3030
"typescript": "^4.5.2"
3131
},
3232
"devDependencies": {
33-
"@types/node": "^16.11.3",
33+
"@types/node": "^16.11.11",
3434
"cargo-cp-artifact": "^0.1"
3535
},
3636
"binary": {

node-bindings/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#[allow(unused_imports)]
12
#[macro_use]
23
extern crate error_chain;
34

@@ -521,7 +522,7 @@ impl StacksDevnet {
521522

522523
let block = match devnet.stacks_block_rx.recv() {
523524
Ok(obj) => obj,
524-
Err(err) => panic!(),
525+
Err(err) => panic!("{:?}", err),
525526
};
526527

527528
let js_block = serde::to_value(&mut cx, &block).expect("Unable to serialize block");
@@ -536,7 +537,7 @@ impl StacksDevnet {
536537

537538
let block = match devnet.bitcoin_block_rx.recv() {
538539
Ok(obj) => obj,
539-
Err(err) => panic!(),
540+
Err(err) => panic!("{:?}", err),
540541
};
541542

542543
let js_block = serde::to_value(&mut cx, &block).expect("Unable to serialize block");

0 commit comments

Comments
 (0)