Update bitcoincash to 0.32.2 and riftenlabs-defi to 0.4.1

Fixes the indexer crash on chipnet: bitcoincash 0.32.1's
Opcode::classify panicked on BCH re-enabled opcodes (e.g. OP_SPLIT),
which riftenlabs-defi hit while parsing input scriptSigs in
parse_cauldrons_from_tx. bitcoincash 0.32.2 makes classify total and
panic-free (and adds the May 2026 upgrade opcodes); riftenlabs-defi
0.4.1 additionally hardens read_push_from_script to not classify
non-push opcodes at all.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Dagur Valberg Johannsson 2026-06-10 22:58:53 +02:00
parent 1614b84674
commit dc420424ac
2 changed files with 6 additions and 6 deletions

8
Cargo.lock generated
View file

@ -249,9 +249,9 @@ dependencies = [
[[package]]
name = "bitcoincash"
version = "0.32.1"
version = "0.32.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "58eb81f30c9d5ef8d3bc7c932ddc029999d27241e53743c6e05e70488e71a1ad"
checksum = "a604a00994f6080334adbade057bd3724aacbaf674b1bd85310835ab46edd819"
dependencies = [
"base58ck",
"bech32",
@ -2210,9 +2210,9 @@ dependencies = [
[[package]]
name = "riftenlabs-defi"
version = "0.4.0"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ac66c2bfc69e97bd199f338c46d32eaabf5f41c9428acb726b1a35ce25a26b5"
checksum = "9103375b1b484664066a5958a619f7dd8baab23069d2c0f53fd9df369ff3b34b"
dependencies = [
"anyhow",
"bitcoin_hashes",

View file

@ -13,7 +13,7 @@ build = "build.rs"
[dependencies]
anyhow = { version = "1.0.94", features = ["backtrace"] }
bitcoincash = "0.32.1"
bitcoincash = "0.32.2"
bitcoin_hashes = { version = "0.14.100", default-features = false } # Same version as used by bitcoincash
electrum-client-netagnostic = { version = "0.21.2", features = ["use-rustls", "use-websocket"] }
hex = "0.4.3"
@ -22,7 +22,7 @@ serde_json = "1.0.133"
rocket = { version = "0.5.1", features = ["json"] }
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite"] }
rayon = "1.10.0"
riftenlabs-defi = "0.4.0"
riftenlabs-defi = "0.4.1"
rocket_cors = "0.6.0"
log = "0.4"
stderrlog = "0.6.0"