Skip to content

Commit 4eec6fb

Browse files
committed
Upgrade stellar-rpc-client.
1 parent 8097cf5 commit 4eec6fb

8 files changed

Lines changed: 237 additions & 199 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ version = "26.0.0-rc.1"
7171
# Dependencies from the rs-stellar-rpc-client repo:
7272
[workspace.dependencies.soroban-rpc]
7373
package = "stellar-rpc-client"
74-
version = "26.0.0-rc.1"
74+
version = "26.0.0-rc.2"
7575

7676
# Dependencies from elsewhere shared by crates:
7777
[workspace.dependencies]
@@ -107,8 +107,6 @@ termcolor = "1.1.3"
107107
termcolor_output = "1.0.1"
108108
ed25519-dalek = ">= 2.1.1"
109109
http = "1.0.0"
110-
jsonrpsee-http-client = "0.20.1"
111-
jsonrpsee-core = "0.20.1"
112110
walkdir = "2.5.0"
113111
toml_edit = "0.22.20"
114112
toml = "0.8.19"

cmd/soroban-cli/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ reqwest = { version = "0.12.7", default-features = false, features = [
7979
"blocking",
8080
"stream",
8181
] }
82-
jsonrpsee-http-client = "0.20.1"
83-
jsonrpsee-core = "0.20.1"
8482
regex = "1.6.0"
8583
wasm-opt = { version = "0.116.1", optional = true }
8684
chrono = { version = "0.4.27", features = ["serde"] }

cmd/soroban-cli/src/commands/contract/deploy/wasm.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ pub enum Error {
9292
#[error("xdr processing error: {0}")]
9393
Xdr(#[from] XdrError),
9494

95-
#[error("jsonrpc error: {0}")]
96-
JsonRpc(#[from] jsonrpsee_core::Error),
97-
9895
#[error("cannot parse salt: {salt}")]
9996
CannotParseSalt { salt: String },
10097

cmd/soroban-cli/src/commands/contract/upload.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ pub enum Error {
7171
#[error("xdr processing error: {0}")]
7272
Xdr(#[from] XdrError),
7373

74-
#[error("jsonrpc error: {0}")]
75-
JsonRpc(#[from] jsonrpsee_core::Error),
76-
7774
#[error(transparent)]
7875
Rpc(#[from] rpc::Error),
7976

cmd/soroban-cli/src/config/network.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use itertools::Itertools;
2-
use jsonrpsee_http_client::HeaderMap;
32
use phf::phf_map;
3+
use reqwest::header::HeaderMap;
44
use reqwest::header::{HeaderName, HeaderValue, InvalidHeaderName, InvalidHeaderValue};
55
use serde::{Deserialize, Serialize};
66
use serde_json::Value;

cmd/soroban-cli/src/config/upgrade_check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use crate::config::locator;
22
use chrono::{DateTime, Utc};
3-
use jsonrpsee_core::Serialize;
43
use semver::Version;
54
use serde::Deserialize;
5+
use serde::Serialize;
66
use serde_json;
77
use std::fs;
88

deny.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ yanked = "warn"
3434
ignore = [
3535
"RUSTSEC-2024-0436", # paste is no longer maintained
3636
"RUSTSEC-2025-0052", # async-std has been discontinued - used only in test dependencies
37-
"RUSTSEC-2025-0134", # rustls-pemfile has been discontinued - need to update stellar-rpc-client with compatible jsonrpsee (possible other deps too)
38-
"RUSTSEC-2026-0097", # rand 0.8.5 unsound advisory - currently present in Cargo.lock via transitive dependencies such as ark-std and soroban-env-host
37+
"RUSTSEC-2026-0097", # rand 0.8.5 unsound advisory - currently present in Cargo.lock via transitive dependencies such as ark-std and soroban-env-host
3938
]
4039
# Threshold for security vulnerabilities, any vulnerability with a CVSS score
4140
# lower than the range specified will be ignored. Note that ignored advisories

0 commit comments

Comments
 (0)