Update dependencies
This commit is contained in:
parent
e3e9547ef8
commit
70bb284425
File diff suppressed because it is too large
Load Diff
18
Cargo.toml
18
Cargo.toml
|
@ -8,16 +8,16 @@ edition = "2021"
|
|||
jsonrpc-core = "18.0.0"
|
||||
jsonrpc-core-client = { version = "18.0.0", features = ["ws", "http", "tls"] }
|
||||
|
||||
solana-rpc = "=1.8.11"
|
||||
solana-client = "=1.8.11"
|
||||
solana-account-decoder = "=1.8.11"
|
||||
solana-sdk = "=1.8.11"
|
||||
solana-logger = "=1.8.11"
|
||||
solana-rpc = "1.8.11"
|
||||
solana-client = "1.8.11"
|
||||
solana-account-decoder = "1.8.11"
|
||||
solana-sdk = "1.8.11"
|
||||
solana-logger = "1.8.11"
|
||||
|
||||
mango = { git = "https://github.com/blockworks-foundation/mango-v3", gitref = "f4294688fb00ff18b2bf0b730d79ce005f7d124e", features = ["client"] }
|
||||
mango-common = { git = "https://github.com/blockworks-foundation/mango-v3", gitref = "f4294688fb00ff18b2bf0b730d79ce005f7d124e" }
|
||||
mango = { git = "https://github.com/blockworks-foundation/mango-v3", tag = "v3.5.1", features = ["client"] }
|
||||
mango-common = { git = "https://github.com/blockworks-foundation/mango-v3", tag = "v3.5.1" }
|
||||
|
||||
serum_dex = { version = "0.4.0", git = "https://github.com/blockworks-foundation/serum-dex.git", default-features=false, features = ["no-entrypoint", "program"] }
|
||||
serum_dex = { git = "https://github.com/blockworks-foundation/serum-dex.git", rev = "7f55a5ef5f7937b74381a3124021a261cd7d7283", default-features=false, features = ["no-entrypoint", "program"] }
|
||||
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tokio-tungstenite = "0.16.1"
|
||||
|
@ -30,7 +30,7 @@ bs58 = "0.3.1"
|
|||
log = "0.4"
|
||||
rand = "0.7"
|
||||
anyhow = "1.0"
|
||||
fixed = { version = "=1.9.0", features = ["serde"] }
|
||||
fixed = { version = "1.9.0", features = ["serde"] }
|
||||
bytes = "1.0"
|
||||
toml = "0.5"
|
||||
bytemuck = "^1.7.2"
|
||||
|
|
|
@ -5,7 +5,7 @@ use solana_client::{
|
|||
rpc_config::{RpcAccountInfoConfig, RpcProgramAccountsConfig},
|
||||
rpc_response::{Response, RpcKeyedAccount},
|
||||
};
|
||||
use solana_rpc::{rpc::rpc_full::FullClient, rpc::OptionalContext};
|
||||
use solana_rpc::rpc::{rpc_accounts::AccountsDataClient, OptionalContext};
|
||||
use solana_sdk::{account::AccountSharedData, commitment_config::CommitmentConfig, pubkey::Pubkey};
|
||||
|
||||
use anyhow::Context;
|
||||
|
@ -74,7 +74,7 @@ async fn feed_snapshots(
|
|||
) -> anyhow::Result<()> {
|
||||
let mango_program_id = Pubkey::from_str(&config.mango_program_id)?;
|
||||
|
||||
let rpc_client = http::connect_with_options::<FullClient>(&config.rpc_http_url, true)
|
||||
let rpc_client = http::connect_with_options::<AccountsDataClient>(&config.rpc_http_url, true)
|
||||
.await
|
||||
.map_err_anyhow()?;
|
||||
|
||||
|
@ -82,6 +82,7 @@ async fn feed_snapshots(
|
|||
encoding: Some(UiAccountEncoding::Base64),
|
||||
commitment: Some(CommitmentConfig::processed()),
|
||||
data_slice: None,
|
||||
min_context_slot: None,
|
||||
};
|
||||
let all_accounts_config = RpcProgramAccountsConfig {
|
||||
filters: None,
|
||||
|
|
|
@ -56,6 +56,7 @@ async fn feed_data(config: &Config, sender: async_channel::Sender<Message>) -> a
|
|||
encoding: Some(UiAccountEncoding::Base64),
|
||||
commitment: Some(CommitmentConfig::processed()),
|
||||
data_slice: None,
|
||||
min_context_slot: None,
|
||||
};
|
||||
let all_accounts_config = RpcProgramAccountsConfig {
|
||||
filters: None,
|
||||
|
|
Loading…
Reference in New Issue