Fix talking to older plugins

The previous commit only looked like it worked due to stale generated
code.
This commit is contained in:
Christian Kamm 2022-03-23 08:16:02 +01:00
parent 0a72228feb
commit 83e9c54fc0
4 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ use {
};
pub mod geyser_proto {
tonic::include_proto!("geyser");
tonic::include_proto!("accountsdb");
}
pub mod geyser_service {

View File

@ -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};

View File

@ -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;

View File

@ -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) {}