Updating grpc version

This commit is contained in:
Godmode Galactus 2023-10-23 12:05:42 +02:00
parent fd8fa7fe05
commit f18de912d8
No known key found for this signature in database
GPG Key ID: A04142C71ABB0DEA
3 changed files with 499 additions and 147 deletions

640
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -33,5 +33,5 @@ tokio-postgres = { version = "0.7.10", features = ["with-chrono-0_4"] }
rustls = { version = "=0.20.8", default-features = false }
tokio = { version = "1.32.0", features = ["rt-multi-thread", "macros", "time"] }
yellowstone-grpc-client = {git = "https://github.com/blockworks-foundation/yellowstone-grpc.git", branch = "geyser_get_banking_transaction_results"}
yellowstone-grpc-proto = {git = "https://github.com/blockworks-foundation/yellowstone-grpc.git", branch = "geyser_get_banking_transaction_results"}
yellowstone-grpc-client = {git = "https://github.com/blockworks-foundation/yellowstone-grpc.git", branch = "geyser_get_banking_transaction_results_master"}
yellowstone-grpc-proto = {git = "https://github.com/blockworks-foundation/yellowstone-grpc.git", branch = "geyser_get_banking_transaction_results_master"}

View File

@ -68,6 +68,7 @@ async fn main() {
match update {
UpdateOneof::BankingTransactionErrors(transaction) => {
log::info!("got banking stage transaction erros");
if transaction.error.is_none() {
continue;
}
@ -84,6 +85,7 @@ async fn main() {
}
}
UpdateOneof::Block(block) => {
log::info!("got block");
slot.store(block.slot, std::sync::atomic::Ordering::Relaxed);
for transaction in &block.transactions {
let Some(tx) = &transaction.transaction else {