diff --git a/geyser-plugin-grpc/src/geyser_plugin_grpc.rs b/geyser-plugin-grpc/src/geyser_plugin_grpc.rs index 2a2a91d..416a9ec 100644 --- a/geyser-plugin-grpc/src/geyser_plugin_grpc.rs +++ b/geyser-plugin-grpc/src/geyser_plugin_grpc.rs @@ -22,7 +22,7 @@ use { }; pub mod geyser_proto { - tonic::include_proto!("geyser"); + tonic::include_proto!("accountsdb"); } pub mod geyser_service { diff --git a/geyser-plugin-grpc/src/test_server.rs b/geyser-plugin-grpc/src/test_server.rs index 56cd2f0..11252e3 100644 --- a/geyser-plugin-grpc/src/test_server.rs +++ b/geyser-plugin-grpc/src/test_server.rs @@ -3,7 +3,7 @@ use tokio::sync::{broadcast, mpsc}; use tonic::transport::Server; pub mod geyser_proto { - tonic::include_proto!("geyser"); + tonic::include_proto!("accountsdb"); } use geyser_proto::{update::UpdateOneof, SlotUpdate, SubscribeRequest, Update}; diff --git a/lib/src/grpc_plugin_source.rs b/lib/src/grpc_plugin_source.rs index 88229f4..76079b2 100644 --- a/lib/src/grpc_plugin_source.rs +++ b/lib/src/grpc_plugin_source.rs @@ -14,7 +14,7 @@ use log::*; use std::{collections::HashMap, str::FromStr, time::Duration}; pub mod geyser_proto { - tonic::include_proto!("geyser"); + tonic::include_proto!("accountsdb"); } use geyser_proto::accounts_db_client::AccountsDbClient; diff --git a/proto/geyser.proto b/proto/geyser.proto index 804c37d..2210f98 100644 --- a/proto/geyser.proto +++ b/proto/geyser.proto @@ -4,7 +4,7 @@ option java_multiple_files = true; option java_package = "mango.v3.geyser"; option java_outer_classname = "GeyserProto"; -package geyser; +package accountsdb; service AccountsDb { rpc Subscribe(SubscribeRequest) returns (stream Update) {}