From aec5bbecc86a02361ad094d27f3dc0b368e4078b 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 | 12 ++++++------ Cargo.toml | 2 +- yellowstone-grpc-geyser/Cargo.toml | 2 +- yellowstone-grpc-geyser/src/config.rs | 4 ++-- 6 files changed, 19 insertions(+), 15 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 3afdda34..329769dd 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-4.0.1 + +### Fixes + +- geyser: raise default filter name length limit ([#473](https://github.com/rpcpool/yellowstone-grpc/pull/473)) + ## 2024-11-21 - yellowstone-grpc-client-simple-4.0.0 diff --git a/Cargo.lock b/Cargo.lock index 8db6e878..518f601a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3207,9 +3207,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.17" +version = "0.23.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f1a745511c54ba6d4465e8d5dfbd81b45791756de28d4981af70d6dca128f1e" +checksum = "934b404430bb06b3fae2cba809eb45a1ab1aecd64491213d7c3301b88393f8d1" dependencies = [ "log", "once_cell", @@ -5210,7 +5210,7 @@ version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" dependencies = [ - "rustls 0.23.17", + "rustls 0.23.19", "rustls-pki-types", "tokio", ] @@ -5501,9 +5501,9 @@ dependencies = [ [[package]] name = "url" -version = "2.5.3" +version = "2.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d157f1b96d14500ffdc1f10ba712e780825526c03d9a49b4d0324b0d9113ada" +checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" dependencies = [ "form_urlencoded", "idna", @@ -5976,7 +5976,7 @@ dependencies = [ [[package]] name = "yellowstone-grpc-geyser" -version = "4.0.0" +version = "4.0.1" dependencies = [ "agave-geyser-plugin-interface", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 21a6671e..af30051c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ resolver = "2" members = [ "examples/rust", # 4.0.0 "yellowstone-grpc-client", # 4.0.0 - "yellowstone-grpc-geyser", # 4.0.0 + "yellowstone-grpc-geyser", # 4.0.1 "yellowstone-grpc-proto", # 4.0.0 ] diff --git a/yellowstone-grpc-geyser/Cargo.toml b/yellowstone-grpc-geyser/Cargo.toml index c4d671c5..d2391a89 100644 --- a/yellowstone-grpc-geyser/Cargo.toml +++ b/yellowstone-grpc-geyser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yellowstone-grpc-geyser" -version = "4.0.0" +version = "4.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 {