Skip to content

Commit

Permalink
geyser: fix lamports filter (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Dec 16, 2024
1 parent d06e1d0 commit b838efc
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 16 deletions.
16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-3.3.0
- yellowstone-grpc-geyser-3.2.2
- yellowstone-grpc-proto-3.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-3.2.1
Expand Down
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", # 3.2.0
"examples/rust", # 3.3.0
"yellowstone-grpc-client", # 3.1.0
"yellowstone-grpc-geyser", # 3.2.1
"yellowstone-grpc-proto", # 3.1.0
"yellowstone-grpc-geyser", # 3.2.2
"yellowstone-grpc-proto", # 3.1.1
]
exclude = [
"yellowstone-grpc-client-nodejs/solana-encoding-wasm", # 3.0.0
Expand Down Expand Up @@ -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 = "3.1.0" }
yellowstone-grpc-proto = { path = "yellowstone-grpc-proto", version = "3.1.0", default-features = false }
yellowstone-grpc-proto = { path = "yellowstone-grpc-proto", version = "3.1.1", default-features = false }

[workspace.lints.clippy]
clone_on_ref_ptr = "deny"
Expand Down
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 = "3.2.0"
version = "3.3.0"
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ crate-type = ["cdylib"]
serde_json = "1.0.86"
solana-transaction-status = "~2.0.16"
wasm-bindgen = "0.2.95"
yellowstone-grpc-proto = { path = "../../yellowstone-grpc-proto", version = "3.1.0", default-features = false, features = ["convert"] }
yellowstone-grpc-proto = { path = "../../yellowstone-grpc-proto", version = "3.1.1", default-features = false, features = ["convert"] }

[workspace.lints.clippy]
clone_on_ref_ptr = "deny"
Expand Down
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 = "3.2.1"
version = "3.2.2"
authors = { workspace = true }
edition = { workspace = true }
description = "Yellowstone gRPC Geyser Plugin"
Expand Down
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 = "3.1.0"
version = "3.1.1"
authors = { workspace = true }
edition = { workspace = true }
description = "Yellowstone gRPC Geyser Protobuf Definitions"
Expand Down
4 changes: 2 additions & 2 deletions yellowstone-grpc-proto/src/plugin/filter/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
}
Expand Down

0 comments on commit b838efc

Please sign in to comment.