Skip to content

Commit

Permalink
[chore] - upgrade jsonrpsee to 0.16.2 (MystenLabs#7629)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkuo authored Jan 24, 2023
1 parent 8c60703 commit 3b93a8e
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 45 deletions.
47 changes: 27 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/sui-cluster-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ futures = "0.3.24"
serde_json = "1.0.88"
tempfile = "3.3.0"
tokio = { workspace = true, features = ["full"] }
jsonrpsee = { git="https://github.com/patrickkuo/jsonrpsee.git", rev= "adc19a124ed7045744442ca67f084ddfba4ba177", features = ["full"] }
jsonrpsee = { version = "0.16.2", features = ["http-client"] }
tracing = { version = "0.1.36", features = ["log"] }
clap = { version = "3.1.14", features = ["derive"] }
reqwest = { version = "0.11.13", features = ["blocking", "json"] }
Expand Down
1 change: 0 additions & 1 deletion crates/sui-indexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ chrono = { version = "0.4.23", features = [
clap = { version = "3.2.17", features = ["derive"] }
diesel = { version = "2.0.0", features = ["chrono", "postgres", "r2d2", "serde_json"] }
futures = "0.3.23"
jsonrpsee = { git="https://github.com/patrickkuo/jsonrpsee.git", rev= "adc19a124ed7045744442ca67f084ddfba4ba177", features = ["full"] }
serde = { version = "1.0.144", features = ["derive"] }
prometheus = "0.13.3"
serde_json = "1.0.83"
Expand Down
5 changes: 2 additions & 3 deletions crates/sui-json-rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2021"

[dependencies]
fastcrypto = { workspace = true }
jsonrpsee = { git="https://github.com/patrickkuo/jsonrpsee.git", rev= "adc19a124ed7045744442ca67f084ddfba4ba177", features = ["full"] }
jsonrpsee-proc-macros = {git="https://github.com/patrickkuo/jsonrpsee.git", rev= "adc19a124ed7045744442ca67f084ddfba4ba177"}
jsonrpsee = { version = "0.16.2", features = ["full"] }
jsonrpsee-proc-macros = "0.16.2"
hyper = "0.14"
tower = "0.4.12"
tower-http = { version = "0.3.4", features = ["full"] }
Expand All @@ -36,7 +36,6 @@ sui-json = { path = "../sui-json" }
sui-open-rpc = { path = "../sui-open-rpc" }
sui-open-rpc-macros = { path = "../sui-open-rpc-macros" }
sui-json-rpc-types = { path = "../sui-json-rpc-types" }
sui-cost = { path = "../sui-cost" }
sui-transaction-builder = { path = "../sui-transaction-builder" }
mysten-metrics = { path = "../mysten-metrics" }
workspace-hack = { version = "0.1", path = "../workspace-hack" }
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
[dependencies]
anyhow = "1.0.64"
async-trait = "0.1.61"
jsonrpsee = { git="https://github.com/patrickkuo/jsonrpsee.git", rev= "adc19a124ed7045744442ca67f084ddfba4ba177", features = ["http-client"] }
jsonrpsee = { version = "0.16.2", features = ["http-client"] }
serde = { version = "1.0.144", features = ["derive"] }
serde_json = "1.0.88"
futures-core = "0.3.21"
Expand Down
2 changes: 1 addition & 1 deletion crates/sui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ tempfile = "3.3.0"
futures = "0.3.23"
prometheus = "0.13.3"

jsonrpsee = { git="https://github.com/patrickkuo/jsonrpsee.git", rev= "adc19a124ed7045744442ca67f084ddfba4ba177", features = ["full"] }
jsonrpsee = { version = "0.16.2", features = ["jsonrpsee-core"] }

test-utils = { path = "../test-utils" }
rand = "0.8.5"
Expand Down
2 changes: 1 addition & 1 deletion crates/test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tempfile = "3.3.0"
tracing = "0.1.36"
signature = "1.6.0"
bcs = "0.1.4"
jsonrpsee = { git="https://github.com/patrickkuo/jsonrpsee.git", rev= "adc19a124ed7045744442ca67f084ddfba4ba177", features = ["full"] }
jsonrpsee = { version = "0.16.2", features = ["http-client"] }
prometheus = "0.13.3"
tokio = { workspace = true, features = ["full", "tracing", "test-util"] }
serde_json = "1.0.88"
Expand Down
34 changes: 17 additions & 17 deletions crates/workspace-hack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -284,14 +284,14 @@ itertools = { version = "0.10" }
itoa-9fbad63c4bcf4a8f = { package = "itoa", version = "0.4" }
itoa-dff4ba8e3ae991db = { package = "itoa", version = "1", default-features = false }
js-sys = { version = "0.3", default-features = false }
jsonrpsee = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", default-features = false, features = ["full"] }
jsonrpsee-client-transport = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", default-features = false, features = ["tls", "web", "ws"] }
jsonrpsee-core = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", features = ["async-client", "async-wasm-client", "http-helpers", "server", "soketto"] }
jsonrpsee-http-client = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177" }
jsonrpsee-server = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", default-features = false }
jsonrpsee-types = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", default-features = false }
jsonrpsee-wasm-client = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", default-features = false }
jsonrpsee-ws-client = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177" }
jsonrpsee = { version = "0.16", default-features = false, features = ["full"] }
jsonrpsee-client-transport = { version = "0.16", default-features = false, features = ["tls", "web", "ws"] }
jsonrpsee-core = { version = "0.16", features = ["async-client", "async-wasm-client", "http-helpers", "server", "soketto"] }
jsonrpsee-http-client = { version = "0.16" }
jsonrpsee-server = { version = "0.16", default-features = false }
jsonrpsee-types = { version = "0.16", default-features = false }
jsonrpsee-wasm-client = { version = "0.16", default-features = false }
jsonrpsee-ws-client = { version = "0.16" }
k256 = { version = "0.11", default-features = false, features = ["ecdsa", "keccak256"] }
keccak = { version = "0.1", default-features = false }
lazy_static-6f8ce4dd05d13bba = { package = "lazy_static", version = "0.2", default-features = false }
Expand Down Expand Up @@ -957,15 +957,15 @@ itoa-9fbad63c4bcf4a8f = { package = "itoa", version = "0.4" }
itoa-dff4ba8e3ae991db = { package = "itoa", version = "1", default-features = false }
jobserver = { version = "0.1", default-features = false }
js-sys = { version = "0.3", default-features = false }
jsonrpsee = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", default-features = false, features = ["full"] }
jsonrpsee-client-transport = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", default-features = false, features = ["tls", "web", "ws"] }
jsonrpsee-core = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", features = ["async-client", "async-wasm-client", "http-helpers", "server", "soketto"] }
jsonrpsee-http-client = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177" }
jsonrpsee-proc-macros = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", default-features = false }
jsonrpsee-server = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", default-features = false }
jsonrpsee-types = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", default-features = false }
jsonrpsee-wasm-client = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177", default-features = false }
jsonrpsee-ws-client = { git = "https://github.com/patrickkuo/jsonrpsee.git", rev = "adc19a124ed7045744442ca67f084ddfba4ba177" }
jsonrpsee = { version = "0.16", default-features = false, features = ["full"] }
jsonrpsee-client-transport = { version = "0.16", default-features = false, features = ["tls", "web", "ws"] }
jsonrpsee-core = { version = "0.16", features = ["async-client", "async-wasm-client", "http-helpers", "server", "soketto"] }
jsonrpsee-http-client = { version = "0.16" }
jsonrpsee-proc-macros = { version = "0.16", default-features = false }
jsonrpsee-server = { version = "0.16", default-features = false }
jsonrpsee-types = { version = "0.16", default-features = false }
jsonrpsee-wasm-client = { version = "0.16", default-features = false }
jsonrpsee-ws-client = { version = "0.16" }
k256 = { version = "0.11", default-features = false, features = ["ecdsa", "keccak256"] }
keccak = { version = "0.1", default-features = false }
lazy_static-6f8ce4dd05d13bba = { package = "lazy_static", version = "0.2", default-features = false }
Expand Down

0 comments on commit 3b93a8e

Please sign in to comment.