File tree Expand file tree Collapse file tree 2 files changed +7
-17
lines changed
lightning-transaction-sync/tests Expand file tree Collapse file tree 2 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ PIN_RELEASE_DEPS # pin the release dependencies in our main workspace
29
29
# The quote crate switched to Rust edition 2021 starting with v1.0.31, i.e., has MSRV of 1.56
30
30
[ " $RUSTC_MINOR_VERSION " -lt 56 ] && cargo update -p quote --precise " 1.0.30" --verbose
31
31
32
+ # The syn crate depends on too-new proc-macro2 starting with v2.0.33, i.e., has MSRV of 1.56
33
+ [ " $RUSTC_MINOR_VERSION " -lt 56 ] && cargo update -p syn:2.0.33 --precise " 2.0.32" --verbose
34
+
32
35
# The proc-macro2 crate switched to Rust edition 2021 starting with v1.0.66, i.e., has MSRV of 1.56
33
36
[ " $RUSTC_MINOR_VERSION " -lt 56 ] && cargo update -p proc-macro2 --precise " 1.0.65" --verbose
34
37
@@ -120,6 +123,10 @@ if [[ $RUSTC_MINOR_VERSION -gt 67 ]]; then
120
123
# lightning-transaction-sync's MSRV is 1.67
121
124
cargo check --verbose --color always --features lightning-transaction-sync
122
125
else
126
+ # The memchr crate switched to an MSRV of 1.60 starting with v2.6.0
127
+ # This is currently only a release dependency via core2, which we intend to work with
128
+ # rust-bitcoin to remove soon.
129
+ [ " $RUSTC_MINOR_VERSION " -lt 60 ] && cargo update -p memchr --precise " 2.5.0" --verbose
123
130
cargo check --verbose --color always
124
131
fi
125
132
popd
Original file line number Diff line number Diff line change @@ -321,20 +321,3 @@ async fn test_esplora_syncs() {
321
321
_ => panic ! ( "Unexpected event" ) ,
322
322
}
323
323
}
324
-
325
- #[ tokio:: test]
326
- #[ cfg( any( feature = "esplora-async-https" , feature = "esplora-blocking" ) ) ]
327
- async fn test_esplora_connects_to_public_server ( ) {
328
- let mut logger = TestLogger { } ;
329
- let esplora_url = "https://blockstream.info/api" . to_string ( ) ;
330
- let tx_sync = EsploraSyncClient :: new ( esplora_url, & mut logger) ;
331
- let confirmable = TestConfirmable :: new ( ) ;
332
-
333
- // Check we connect and pick up on new best blocks
334
- assert_eq ! ( confirmable. best_block. lock( ) . unwrap( ) . 1 , 0 ) ;
335
- #[ cfg( feature = "esplora-async-https" ) ]
336
- tx_sync. sync ( vec ! [ & confirmable] ) . await . unwrap ( ) ;
337
- #[ cfg( feature = "esplora-blocking" ) ]
338
- tx_sync. sync ( vec ! [ & confirmable] ) . unwrap ( ) ;
339
- assert_ne ! ( confirmable. best_block. lock( ) . unwrap( ) . 1 , 0 ) ;
340
- }
You can’t perform that action at this time.
0 commit comments