Skip to content

Commit d09fee5

Browse files
committed
fix: support yellowstone grpc proto 12.4 account filters
1 parent fd057fc commit d09fee5

3 files changed

Lines changed: 13 additions & 9 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sol-parser-sdk"
3-
version = "0.4.4"
3+
version = "0.4.5"
44
edition = "2021"
55
authors = ["William <byteblock6@gmail.com>", "sgxiang <sgxiang@gmail.com>", "wei <1415121722@qq.com>"]
66
repository = "https://github.com/0xfnzero/sol-parser-sdk"
@@ -64,7 +64,7 @@ rand = "0.9.0"
6464
bincode = "1.3.3"
6565
anyhow = "1.0.90"
6666
yellowstone-grpc-client = "12.1.0"
67-
yellowstone-grpc-proto = "12.1.0"
67+
yellowstone-grpc-proto = "12.4.0"
6868
tokio = { version = "1.42.0", features = ["full", "rt-multi-thread"]}
6969
tonic = { version = "0.13", features = ["transport"] }
7070
rustls = { version = "0.23.23", features = ["ring"], default-features = false }

src/grpc/subscribe_builder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ fn acc_filter_to_proto(f: &AccountFilter) -> SubscribeRequestFilterAccounts {
2828
owner: f.owner.clone(),
2929
filters: f.filters.clone(),
3030
nonempty_txn_signature: None,
31+
cuckoo_accounts_filter: None,
3132
}
3233
}
3334

0 commit comments

Comments
 (0)