Skip to content

Commit b0f43c1

Browse files
committed
upgrading bdk_wallet to version 1.2.0
1 parent 9a11293 commit b0f43c1

File tree

5 files changed

+38
-20
lines changed

5 files changed

+38
-20
lines changed

.github/workflows/cont_integration.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,17 @@ jobs:
3838
- name: Pin dependencies for MSRV
3939
if: matrix.rust == '1.63.0'
4040
run: |
41-
cargo update -p home:0.5.11 --precise 0.5.5
42-
cargo update -p cc --precise 1.0.105
43-
cargo update -p rustls:0.23.21 --precise 0.23.12
44-
cargo update -p time --precise 0.3.20
45-
cargo update -p zstd-sys --precise "2.0.7+zstd.1.5.4"
41+
cargo update -p zstd-sys --precise "2.0.8+zstd.1.5.5"
42+
cargo update -p time --precise "0.3.20"
43+
cargo update -p home --precise "0.5.5"
44+
cargo update -p flate2 --precise "1.0.35"
45+
cargo update -p bzip2-sys --precise "0.1.12"
46+
cargo update -p ring --precise "0.17.12"
47+
cargo update -p once_cell --precise "1.20.3"
48+
cargo update -p base64ct --precise "1.6.0"
49+
cargo update -p minreq --precise "2.13.2"
50+
cargo update -p bdk_electrum --precise 0.20.1
51+
cargo update -p rustls:0.23.26 --precise 0.23.12
4652
- name: Build
4753
run: cargo build
4854
- name: Clippy

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bdk-reserves"
3-
version = "1.0.0"
3+
version = "1.2.0"
44
authors = ["Richard Ulrich <[email protected]>"]
55
edition = "2018"
66
description = "Proof of reserves for bitcoin dev kit"
@@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0"
1010
repository = "https://github.com/bitcoindevkit/bdk-reserves"
1111

1212
[dependencies]
13-
bdk_wallet = { version = "1.0.0", default-features = false, features = ["std"] }
13+
bdk_wallet = { version = "1.2.0", default-features = false, features = ["std"] }
1414
bitcoinconsensus = "0.19.0-3"
1515
log = "^0.4"
1616

Makefile

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,17 @@ test_current: builder
1616
test_63: builder_63
1717
rm -f Cargo.lock
1818
$(DOCKER_RUN) ${TAG_63} cargo test || true
19-
$(DOCKER_RUN) ${TAG_63} cargo update -p home:0.5.11 --precise 0.5.5 || true
20-
$(DOCKER_RUN) ${TAG_63} cargo update -p cc --precise 1.0.105 || true
21-
$(DOCKER_RUN) ${TAG_63} cargo update -p rustls:0.23.21 --precise 0.23.12 || true
22-
$(DOCKER_RUN) ${TAG_63} cargo update -p time --precise 0.3.20 || true
23-
$(DOCKER_RUN) ${TAG_63} cargo update -p zstd-sys --precise "2.0.7+zstd.1.5.4" || true
19+
$(DOCKER_RUN) ${TAG_63} cargo update -p zstd-sys --precise "2.0.8+zstd.1.5.5" || true
20+
$(DOCKER_RUN) ${TAG_63} cargo update -p time --precise "0.3.20" || true
21+
$(DOCKER_RUN) ${TAG_63} cargo update -p home --precise "0.5.5" || true
22+
$(DOCKER_RUN) ${TAG_63} cargo update -p flate2 --precise "1.0.35" || true
23+
$(DOCKER_RUN) ${TAG_63} cargo update -p bzip2-sys --precise "0.1.12" || true
24+
$(DOCKER_RUN) ${TAG_63} cargo update -p ring --precise "0.17.12" || true
25+
$(DOCKER_RUN) ${TAG_63} cargo update -p once_cell --precise "1.20.3" || true
26+
$(DOCKER_RUN) ${TAG_63} cargo update -p base64ct --precise "1.6.0" || true
27+
$(DOCKER_RUN) ${TAG_63} cargo update -p minreq --precise "2.13.2" || true
28+
$(DOCKER_RUN) ${TAG_63} cargo update -p bdk_electrum --precise 0.20.1 || true
29+
$(DOCKER_RUN) ${TAG_63} cargo update -p rustls:0.23.26 --precise 0.23.12 || true
2430
$(DOCKER_RUN) ${TAG_63} cargo test
2531

2632
run: builder

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,17 @@ This library should always compile with Rust **1.63.0**.
5555
To build with the MSRV you will need to pin the below dependencies:
5656

5757
```shell
58-
cargo update -p home:0.5.11 --precise 0.5.5
59-
cargo update -p cc --precise 1.0.105
60-
cargo update -p rustls:0.23.21 --precise 0.23.12
61-
cargo update -p time --precise 0.3.20
62-
cargo update -p zstd-sys --precise "2.0.7+zstd.1.5.4"
58+
cargo update -p zstd-sys --precise "2.0.8+zstd.1.5.5"
59+
cargo update -p time --precise "0.3.20"
60+
cargo update -p home --precise "0.5.5"
61+
cargo update -p flate2 --precise "1.0.35"
62+
cargo update -p bzip2-sys --precise "0.1.12"
63+
cargo update -p ring --precise "0.17.12"
64+
cargo update -p once_cell --precise "1.20.3"
65+
cargo update -p base64ct --precise "1.6.0"
66+
cargo update -p minreq --precise "2.13.2"
67+
cargo update -p bdk_electrum --precise 0.20.1
68+
cargo update -p rustls:0.23.26 --precise 0.23.12
6369
```
6470

6571
## Contribution

src/reserves.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ mod test {
358358

359359
let psbt_b64 = psbt.to_string();
360360

361-
let expected = r#"cHNidP8BAH4BAAAAAmw1RvG4UzfnSafpx62EPTyha6VslP0Er7n3TxjEpeBeAAAAAAD/////MQvsP2eDTCk3vWfQJ50IOFWLwuTHPsnYikR1hosdK0sAAAAAAP3///8BUMMAAAAAAAAZdqkUn3/QltN+0sDj9/DPySS+70/862iIrAAAAAAAAQEKAAAAAAAAAAABUQEHAAABAR9QwwAAAAAAABYAFOzlJlcQU9qGRUyeBmd56vnRUC5qIgYDKwVYB4vsOGlKhJM9ZZMD4lddrn6RaFkRRUEVv9ZEh+ME7OUmVwAA"#;
361+
let expected = r#"cHNidP8BAH4CAAAAAmw1RvG4UzfnSafpx62EPTyha6VslP0Er7n3TxjEpeBeAAAAAAD/////MQvsP2eDTCk3vWfQJ50IOFWLwuTHPsnYikR1hosdK0sAAAAAAP3///8BUMMAAAAAAAAZdqkUn3/QltN+0sDj9/DPySS+70/862iIrAAAAAAAAQEKAAAAAAAAAAABUQEHAAABAR9QwwAAAAAAABYAFOzlJlcQU9qGRUyeBmd56vnRUC5qIgYDKwVYB4vsOGlKhJM9ZZMD4lddrn6RaFkRRUEVv9ZEh+ME7OUmVwAA"#;
362362

363363
assert_eq!(psbt_b64, expected);
364364

@@ -373,14 +373,14 @@ mod test {
373373

374374
let psbt_b64 = psbt.to_string();
375375

376-
let expected = r#"cHNidP8BAH4BAAAAAmw1RvG4UzfnSafpx62EPTyha6VslP0Er7n3TxjEpeBeAAAAAAD/////MQvsP2eDTCk3vWfQJ50IOFWLwuTHPsnYikR1hosdK0sAAAAAAP3///8BUMMAAAAAAAAZdqkUn3/QltN+0sDj9/DPySS+70/862iIrAAAAAAAAQEKAAAAAAAAAAABUQEHAAABAR9QwwAAAAAAABYAFOzlJlcQU9qGRUyeBmd56vnRUC5qAQhrAkcwRAIgR9XtbnBY0jUe9zXI0kCEzEua5pHm6Bal6mCHNBmTTIECIE2NbjpRjD6/nZv72GQ7qPZ1Sdo3BPps0cBN1DOsB+S+ASEDKwVYB4vsOGlKhJM9ZZMD4lddrn6RaFkRRUEVv9ZEh+MAAA=="#;
376+
let expected = r#"cHNidP8BAH4CAAAAAmw1RvG4UzfnSafpx62EPTyha6VslP0Er7n3TxjEpeBeAAAAAAD/////MQvsP2eDTCk3vWfQJ50IOFWLwuTHPsnYikR1hosdK0sAAAAAAP3///8BUMMAAAAAAAAZdqkUn3/QltN+0sDj9/DPySS+70/862iIrAAAAAAAAQEKAAAAAAAAAAABUQEHAAABAR9QwwAAAAAAABYAFOzlJlcQU9qGRUyeBmd56vnRUC5qAQhrAkcwRAIgMjk39sEdlh9VEb0GOKNy+C/X4yiZd4/AteVnZjdSuPYCIBQKVpBGTpUSZNoXqT93EucKLLFVQnLJIkPXKjRYO4eJASEDKwVYB4vsOGlKhJM9ZZMD4lddrn6RaFkRRUEVv9ZEh+MAAA=="#;
377377

378378
assert_eq!(psbt_b64, expected);
379379
}
380380

381381
#[test]
382382
#[should_panic(
383-
expected = "\"unexpected «Key too short (<66 char), doesn't match any format»\""
383+
expected = "\"Key too short (<66 char), doesn't match any format\""
384384
)]
385385
fn invalid_descriptor() {
386386
let descriptor = "wpkh(cVpPVqXRyPcFW)";

0 commit comments

Comments
 (0)