Fix talking to older plugins
The previous commit only looked like it worked due to stale generated code.
This commit is contained in:
parent
0a72228feb
commit
83e9c54fc0
|
@ -22,7 +22,7 @@ use {
|
|||
};
|
||||
|
||||
pub mod geyser_proto {
|
||||
tonic::include_proto!("geyser");
|
||||
tonic::include_proto!("accountsdb");
|
||||
}
|
||||
|
||||
pub mod geyser_service {
|
||||
|
|
|
@ -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};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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) {}
|
||||
|
|
Loading…
Reference in New Issue