Skip to content

Commit 5b53ea4

Browse files
authored
Update master (#68)
1 parent e306439 commit 5b53ea4

File tree

16 files changed

+1570
-2771
lines changed

16 files changed

+1570
-2771
lines changed

Cargo.lock

Lines changed: 1467 additions & 2713 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,27 @@
11
[workspace]
2-
members = [
3-
"cli",
4-
"client",
5-
"proto",
6-
"server"
7-
]
2+
members = ["cli", "client", "proto", "server"]
83

94
# This prevents a Travis CI error when building for Windows.
105
resolver = "2"
116

127
[workspace.package]
13-
version = "2.0.15"
8+
version = "3.1.0"
149
license = "Apache-2.0"
1510
authors = ["Jito Foundation <[email protected]>"]
1611
edition = "2021"
1712
repository = "https://github.com/jito-foundation/geyser-grpc-plugin"
1813
homepage = "https://jito.network/"
1914

2015
[workspace.dependencies]
21-
agave-geyser-plugin-interface = "=2.2"
16+
agave-geyser-plugin-interface = "=3.1"
2217
bincode = "1.3.3"
2318
bs58 = "0.5.0"
2419
clap = { version = "4.4.6", features = ["derive", "env"] }
2520
crossbeam-channel = "0.5.8"
2621
enum-iterator = "2.1.0"
2722
futures-util = "0.3.28"
28-
geyser-grpc-plugin-client = { path = "client", version = "=2.0.15" }
29-
jito-geyser-protos = { path = "proto", version = "=2.0.15" }
23+
geyser-grpc-plugin-client = { path = "client", version = "=3.1.0" }
24+
jito-geyser-protos = { path = "proto", version = "=3.1.0" }
3025
log = "0.4.17"
3126
lru = "0.13.0"
3227
once_cell = "1.17.1"
@@ -37,13 +32,24 @@ serde = "1.0.160"
3732
serde_derive = "1.0.160"
3833
serde_json = "1.0.96"
3934
serde_with = "=3.12.0"
40-
solana-account-decoder = "=2.2"
41-
solana-logger = "=2.2"
42-
solana-metrics = "=2.2"
43-
solana-program = "=2.2"
44-
solana-sdk = "=2.2"
45-
solana-transaction-status = "=2.2"
46-
solana-vote-program = "=2.2"
35+
solana-account-decoder = "3.1"
36+
solana-address = "3.1"
37+
solana-clock = "3.0"
38+
solana-hash = "3.1"
39+
solana-instruction = "3.1"
40+
solana-logger = "3.0"
41+
solana-message = "3.0"
42+
solana-metrics = "3.1"
43+
solana-program = "3.0"
44+
solana-pubkey = "3.0"
45+
solana-serde = "3.0"
46+
solana-signature = "3.1"
47+
solana-slot-hashes = "3.0"
48+
solana-transaction = "3.0"
49+
solana-transaction-context = "3.1"
50+
solana-transaction-error = "3.0"
51+
solana-transaction-status = "3.1"
52+
solana-vote-interface = "3.0"
4753
thiserror = "2.0.12"
4854
tokio = { version = "1.44.1", features = ["rt-multi-thread"] }
4955
tokio-stream = "0.1"

cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ futures-util = { workspace = true }
1111
geyser-grpc-plugin-client = { workspace = true }
1212
jito-geyser-protos = { workspace = true }
1313
prost-types = { workspace = true }
14-
solana-sdk = { workspace = true }
14+
solana-pubkey = { workspace = true }
1515
tokio = { workspace = true }
1616
tonic = { workspace = true }
1717
uuid = { workspace = true }

cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use jito_geyser_protos::solana::geyser::{
1313
SubscribeTransactionUpdatesRequest, TimestampedAccountUpdate,
1414
};
1515
use prost_types::Timestamp;
16-
use solana_sdk::pubkey::Pubkey;
16+
use solana_pubkey::Pubkey;
1717
use tonic::{transport::channel::Endpoint, Streaming};
1818
use uuid::Uuid;
1919

client/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ edition = { workspace = true }
99
jito-geyser-protos = { workspace = true }
1010
log = { workspace = true }
1111
lru = { workspace = true }
12-
solana-sdk = { workspace = true }
12+
solana-clock = { workspace = true }
13+
solana-pubkey = { workspace = true }
14+
solana-slot-hashes = { workspace = true }
1315
thiserror = { workspace = true }
1416
tokio = { workspace = true }
1517
tonic = { workspace = true }

client/src/geyser_consumer.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ use jito_geyser_protos::solana::geyser::{
2424
};
2525
use log::*;
2626
use lru::LruCache;
27+
use solana_clock::Slot;
28+
use solana_pubkey::Pubkey;
2729
use thiserror::Error;
2830
use tokio::{
2931
sync::mpsc::UnboundedSender,
@@ -36,7 +38,7 @@ use crate::{
3638
types::{
3739
AccountUpdate, AccountUpdateNotification, PartialAccountUpdate, SlotEntryUpdate, SlotUpdate,
3840
},
39-
GrpcInterceptor, Pubkey, Slot,
41+
GrpcInterceptor,
4042
};
4143

4244
#[derive(Error, Debug)]

client/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ use std::{
88
};
99

1010
use jito_geyser_protos::solana::geyser::geyser_client::GeyserClient;
11-
use solana_sdk::{clock::Slot, pubkey::Pubkey};
1211
use tonic::transport::{ClientTlsConfig, Endpoint};
1312

1413
use crate::{geyser_consumer::GeyserConsumer, interceptor::GrpcInterceptor};

client/src/types.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
//! Contains application specific representations of proto definitions.
22
33
use jito_geyser_protos::solana::geyser;
4-
use solana_sdk::{pubkey::Pubkey, slot_hashes::Slot};
4+
use solana_clock::Slot;
5+
use solana_pubkey::Pubkey;
56

67
#[derive(Clone, Copy, Debug, PartialEq)]
78
pub enum SlotStatus {

proto/Cargo.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,15 @@ prost = { workspace = true }
1212
prost-types = { workspace = true }
1313
serde = { workspace = true }
1414
solana-account-decoder = { workspace = true }
15-
solana-sdk = { workspace = true }
15+
solana-hash = { workspace = true }
16+
solana-instruction = { workspace = true }
17+
solana-message = { workspace = true }
18+
solana-pubkey = { workspace = true }
19+
solana-serde = { workspace = true }
20+
solana-signature = { workspace = true }
21+
solana-transaction = { workspace = true }
22+
solana-transaction-context = { workspace = true }
23+
solana-transaction-error = { workspace = true }
1624
solana-transaction-status = { workspace = true }
1725
tonic = { workspace = true }
1826

proto/proto/confirmed_block.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ message TransactionStatusMeta {
6565
// Available since Solana v1.10.35 / v1.11.6.
6666
// Set to `None` for txs executed on earlier versions.
6767
optional uint64 compute_units_consumed = 16;
68+
optional uint64 cost_units = 17;
6869
}
6970

7071
message TransactionError {

0 commit comments

Comments
 (0)