Skip to content

Commit f94e7ee

Browse files
committed
fix: new version
1 parent c263421 commit f94e7ee

File tree

7 files changed

+75
-20
lines changed

7 files changed

+75
-20
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
matrix:
2525
include:
2626
- suite: cli
27-
features: redis_tests
27+
features: --features redis_tests
2828
- suite: sdk
29-
features: stacks-signers
29+
features:
3030
defaults:
3131
run:
3232
working-directory: ./components/chainhook-${{ matrix.suite }}
@@ -68,7 +68,7 @@ jobs:
6868

6969
- name: Run tests
7070
run: |
71-
cargo tarpaulin --skip-clean --out lcov --features ${{ matrix.features }} -- --test-threads=1
71+
cargo tarpaulin --skip-clean --out lcov ${{ matrix.features }} -- --test-threads=1
7272
7373
- name: Upload coverage reports to Codecov
7474
uses: codecov/codecov-action@v4

Cargo.lock

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

components/chainhook-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ hex = "0.4.3"
1717
rand = "0.8.5"
1818
chainhook-sdk = { default-features = false, features = [
1919
"zeromq",
20-
"stacks-signers",
20+
# "stacks-signers",
2121
], path = "../chainhook-sdk" }
2222
hiro-system-kit = "0.3.4"
2323
# hiro-system-kit = { path = "../../../clarinet/components/hiro-system-kit" }

components/chainhook-cli/src/scan/stacks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use chainhook_sdk::{
2727
utils::Context,
2828
};
2929
use chainhook_sdk::{
30-
chainhooks::stacks::evaluate_stacks_predicate_on_non_consensus_events,
30+
// chainhooks::stacks::evaluate_stacks_predicate_on_non_consensus_events,
3131
types::{BlockIdentifier, Chain},
3232
};
3333
use chainhook_sdk::{

components/chainhook-sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ edition = "2021"
1111
serde = { version = "1.0.228", features = ["rc"] }
1212
serde_json = { version = "1", features = ["arbitrary_precision"] }
1313
serde_derive = "1"
14-
stacks-codec = { git = "https://github.com/stx-labs/clarinet.git", version = "3.9.1" }
14+
stacks-codec = { git = "https://github.com/stx-labs/clarinet.git", version = "3.11.0" }
1515
clarity = { git = "https://github.com/stacks-network/stacks-core.git", branch="develop", package = "clarity", default-features = false }
1616
hiro-system-kit = { version = "0.3.4", optional = true }
1717
rocket = { version = "=0.5.0", features = ["json"] }

components/chainhook-sdk/src/indexer/stacks/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ pub fn get_tx_description(
11811181
));
11821182
}
11831183

1184-
let tx = StacksTransaction::consensus_deserialize(&mut Cursor::new(&tx_bytes))
1184+
let (tx, _ ) = StacksTransaction::consensus_deserialize_with_len(&mut Cursor::new(&tx_bytes))
11851185
.map_err(|e| format!("unable to consensus decode transaction {}", e))?;
11861186

11871187
let (fee, nonce, sender, sponsor) = match tx.auth {

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "stable"
2+
channel = "nightly"

0 commit comments

Comments
 (0)