Skip to content

Commit 60628b8

Browse files
committed
feat(hwi): add libudev-sys dep to workflows
- async-hwi requires libudev-sys for linux systems - remove skip_blocks param as it is no longer needed for cbf
1 parent ff7802d commit 60628b8

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.github/workflows/code_coverage.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ jobs:
1616
uses: actions/checkout@v4
1717
with:
1818
persist-credentials: false
19-
- name: Install lcov tools
20-
run: sudo apt-get install lcov -y
19+
- name: Install system dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y libudev-dev libusb-1.0-0-dev lcov
2123
- name: Install Rust toolchain
2224
uses: actions-rs/toolchain@v1
2325
with:

.github/workflows/cont_integration.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v4
21+
# hwi (async-hwi) depends on libudev-sys
22+
- name: Install system dependencies
23+
run: |
24+
sudo apt-get update
25+
sudo apt-get install -y libudev-dev libusb-1.0-0-dev
2126
- name: Generate cache key
2227
run: echo "${{ matrix.rust }} ${{ matrix.features }}" | tee .cache_key
2328
- name: Cache

src/handlers.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,10 +1150,7 @@ pub async fn handle_hwi_subcommand(
11501150
#[cfg(feature = "rpc")]
11511151
cookie: None,
11521152
#[cfg(feature = "cbf")]
1153-
compactfilter_opts: CompactFilterOpts {
1154-
conn_count: 2,
1155-
skip_blocks: None,
1156-
},
1153+
compactfilter_opts: CompactFilterOpts { conn_count: 2 },
11571154
};
11581155

11591156
#[cfg(feature = "sqlite")]

0 commit comments

Comments
 (0)