Skip to content

Commit 6bfff92

Browse files
authored
geyser: fix lamports filter (#498)
1 parent aa8623c commit 6bfff92

File tree

9 files changed

+28
-16
lines changed

9 files changed

+28
-16
lines changed

CHANGELOG.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,22 @@ The minor version will be incremented upon a breaking change and the patch versi
1414

1515
### Features
1616

17-
- client: add `ca_certificate` option ([#497](https://github.com/rpcpool/yellowstone-grpc/pull/497))
18-
1917
### Breaking
2018

19+
## 2024-12-16
20+
21+
- yellowstone-grpc-client-simple-4.3.0
22+
- yellowstone-grpc-geyser-4.2.2
23+
- yellowstone-grpc-proto-4.1.1
24+
25+
### Fixes
26+
27+
- geyser: fix `lamports` filter ([#498](https://github.com/rpcpool/yellowstone-grpc/pull/498))
28+
29+
### Features
30+
31+
- example: add `ca_certificate` option ([#497](https://github.com/rpcpool/yellowstone-grpc/pull/497))
32+
2133
## 2024-12-15
2234

2335
- yellowstone-grpc-geyser-4.2.1

Cargo.lock

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

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[workspace]
22
resolver = "2"
33
members = [
4-
"examples/rust", # 4.2.0
4+
"examples/rust", # 4.3.0
55
"yellowstone-grpc-client", # 4.1.0
6-
"yellowstone-grpc-geyser", # 4.2.1
7-
"yellowstone-grpc-proto", # 4.1.0
6+
"yellowstone-grpc-geyser", # 4.2.2
7+
"yellowstone-grpc-proto", # 4.1.1
88
]
99
exclude = [
1010
"yellowstone-grpc-client-nodejs/solana-encoding-wasm", # 3.0.0
@@ -70,7 +70,7 @@ tonic-build = "0.12.1"
7070
tonic-health = "0.12.1"
7171
vergen = "9.0.0"
7272
yellowstone-grpc-client = { path = "yellowstone-grpc-client", version = "4.1.0" }
73-
yellowstone-grpc-proto = { path = "yellowstone-grpc-proto", version = "4.1.0", default-features = false }
73+
yellowstone-grpc-proto = { path = "yellowstone-grpc-proto", version = "4.1.1", default-features = false }
7474

7575
[workspace.lints.clippy]
7676
clone_on_ref_ptr = "deny"

examples/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "yellowstone-grpc-client-simple"
3-
version = "4.2.0"
3+
version = "4.3.0"
44
authors = { workspace = true }
55
edition = { workspace = true }
66
homepage = { workspace = true }

yellowstone-grpc-client-nodejs/solana-encoding-wasm/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yellowstone-grpc-client-nodejs/solana-encoding-wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ crate-type = ["cdylib"]
1616
serde_json = "1.0.86"
1717
solana-transaction-status = "~2.1.1"
1818
wasm-bindgen = "0.2.95"
19-
yellowstone-grpc-proto = { path = "../../yellowstone-grpc-proto", version = "4.1.0", default-features = false, features = ["convert"] }
19+
yellowstone-grpc-proto = { path = "../../yellowstone-grpc-proto", version = "4.1.1", default-features = false, features = ["convert"] }
2020

2121
[workspace.lints.clippy]
2222
clone_on_ref_ptr = "deny"

yellowstone-grpc-geyser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "yellowstone-grpc-geyser"
3-
version = "4.2.1"
3+
version = "4.2.2"
44
authors = { workspace = true }
55
edition = { workspace = true }
66
description = "Yellowstone gRPC Geyser Plugin"

yellowstone-grpc-proto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "yellowstone-grpc-proto"
3-
version = "4.1.0"
3+
version = "4.1.1"
44
authors = { workspace = true }
55
edition = { workspace = true }
66
description = "Yellowstone gRPC Geyser Protobuf Definitions"

yellowstone-grpc-proto/src/plugin/filter/filter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,8 @@ impl FilterAccountsLamports {
484484
match self {
485485
Self::Eq(value) => value == lamports,
486486
Self::Ne(value) => value != lamports,
487-
Self::Lt(value) => value < lamports,
488-
Self::Gt(value) => value > lamports,
487+
Self::Lt(value) => value > lamports,
488+
Self::Gt(value) => value < lamports,
489489
}
490490
}
491491
}

0 commit comments

Comments
 (0)