From 3fb1248189d507079abbf34b2905401efaf38b11 Mon Sep 17 00:00:00 2001 From: Kirill Fomichev Date: Thu, 28 Nov 2024 13:34:54 -0500 Subject: [PATCH] geyser: raise default filter name length limit (#473) --- .editorconfig | 6 +----- CHANGELOG.md | 8 ++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- yellowstone-grpc-geyser/Cargo.toml | 2 +- yellowstone-grpc-geyser/src/config.rs | 4 ++-- 6 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.editorconfig b/.editorconfig index 6dddb172..2701ae38 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,11 +9,7 @@ insert_final_newline = true [*.{diff,md}] trim_trailing_whitespace = false -[*.{js,json}] -indent_style = space -indent_size = 2 - -[*.proto] +[*.{js,json,proto}] indent_style = space indent_size = 2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ebb97b6..cc28e72f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,14 @@ The minor version will be incremented upon a breaking change and the patch versi ### Breaking +## 2024-11-28 + +- yellowstone-grpc-geyser-3.0.1 + +### Fixes + +- geyser: raise default filter name length limit ([#473](https://github.com/rpcpool/yellowstone-grpc/pull/473)) + ## 2024-11-20 - yellowstone-grpc-client-simple-3.0.0 diff --git a/Cargo.lock b/Cargo.lock index fc1a7f8e..a0cd5364 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5030,7 +5030,7 @@ dependencies = [ [[package]] name = "yellowstone-grpc-geyser" -version = "3.0.0" +version = "3.0.1" dependencies = [ "agave-geyser-plugin-interface", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 0e3a42a2..9113dfcd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ resolver = "2" members = [ "examples/rust", # 3.0.0 "yellowstone-grpc-client", # 3.0.0 - "yellowstone-grpc-geyser", # 3.0.0 + "yellowstone-grpc-geyser", # 3.0.1 "yellowstone-grpc-proto", # 3.0.0 ] diff --git a/yellowstone-grpc-geyser/Cargo.toml b/yellowstone-grpc-geyser/Cargo.toml index e8c959a9..7e033bc2 100644 --- a/yellowstone-grpc-geyser/Cargo.toml +++ b/yellowstone-grpc-geyser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yellowstone-grpc-geyser" -version = "3.0.0" +version = "3.0.1" authors = { workspace = true } edition = { workspace = true } description = "Yellowstone gRPC Geyser Plugin" diff --git a/yellowstone-grpc-geyser/src/config.rs b/yellowstone-grpc-geyser/src/config.rs index 1906ae50..239d1b59 100644 --- a/yellowstone-grpc-geyser/src/config.rs +++ b/yellowstone-grpc-geyser/src/config.rs @@ -143,11 +143,11 @@ impl ConfigGrpc { } const fn default_filter_name_size_limit() -> usize { - 32 + 128 } const fn default_filter_names_size_limit() -> usize { - 1_024 + 4_096 } const fn default_filter_names_cleanup_interval() -> Duration {