Skip to content

Commit

Permalink
geyser: fix lamports filter
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Dec 16, 2024
1 parent aa8623c commit 93235b6
Showing 7 changed files with 26 additions and 14 deletions.
16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -14,10 +14,22 @@ The minor version will be incremented upon a breaking change and the patch versi

### Features

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

### Breaking

## 2024-12-16

- yellowstone-grpc-client-simple-4.3.0
- yellowstone-grpc-geyser-4.2.2
- yellowstone-grpc-proto-4.1.1

### Fixes

- geyser: fix `lamports` filter ([#498](https://github.com/rpcpool/yellowstone-grpc/pull/498))

### Features

- example: add `ca_certificate` option ([#497](https://github.com/rpcpool/yellowstone-grpc/pull/497))

## 2024-12-15

- yellowstone-grpc-geyser-4.2.1
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[workspace]
resolver = "2"
members = [
"examples/rust", # 4.2.0
"examples/rust", # 4.3.0
"yellowstone-grpc-client", # 4.1.0
"yellowstone-grpc-geyser", # 4.2.1
"yellowstone-grpc-proto", # 4.1.0
"yellowstone-grpc-geyser", # 4.2.2
"yellowstone-grpc-proto", # 4.1.1
]
exclude = [
"yellowstone-grpc-client-nodejs/solana-encoding-wasm", # 3.0.0
@@ -70,7 +70,7 @@ tonic-build = "0.12.1"
tonic-health = "0.12.1"
vergen = "9.0.0"
yellowstone-grpc-client = { path = "yellowstone-grpc-client", version = "4.1.0" }
yellowstone-grpc-proto = { path = "yellowstone-grpc-proto", version = "4.1.0", default-features = false }
yellowstone-grpc-proto = { path = "yellowstone-grpc-proto", version = "4.1.1", default-features = false }

[workspace.lints.clippy]
clone_on_ref_ptr = "deny"
2 changes: 1 addition & 1 deletion examples/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yellowstone-grpc-client-simple"
version = "4.2.0"
version = "4.3.0"
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
2 changes: 1 addition & 1 deletion yellowstone-grpc-geyser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yellowstone-grpc-geyser"
version = "4.2.1"
version = "4.2.2"
authors = { workspace = true }
edition = { workspace = true }
description = "Yellowstone gRPC Geyser Plugin"
2 changes: 1 addition & 1 deletion yellowstone-grpc-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yellowstone-grpc-proto"
version = "4.1.0"
version = "4.1.1"
authors = { workspace = true }
edition = { workspace = true }
description = "Yellowstone gRPC Geyser Protobuf Definitions"
4 changes: 2 additions & 2 deletions yellowstone-grpc-proto/src/plugin/filter/filter.rs
Original file line number Diff line number Diff line change
@@ -484,8 +484,8 @@ impl FilterAccountsLamports {
match self {
Self::Eq(value) => value == lamports,
Self::Ne(value) => value != lamports,
Self::Lt(value) => value < lamports,
Self::Gt(value) => value > lamports,
Self::Lt(value) => value > lamports,
Self::Gt(value) => value < lamports,
}
}
}

0 comments on commit 93235b6

Please sign in to comment.