Skip to content

Commit

Permalink
upgrade jsonrpsee to commit 661870a0ab4159b2bb104ace25a2cb817a097e03,…
Browse files Browse the repository at this point in the history
… which fixes a https bug (MystenLabs#1784)

changed the default dev net url to https
  • Loading branch information
patrickkuo authored May 4, 2022
1 parent f2a0e2b commit 2da3779
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 20 deletions.
39 changes: 21 additions & 18 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 sui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ narwhal-crypto = { git = "https://github.com/MystenLabs/narwhal", rev = "72efe71

once_cell = "1.10.0"

jsonrpsee = { version = "0.11.0", features = ["full"] }
jsonrpsee = { git = "https://github.com/paritytech/jsonrpsee.git", rev = "661870a0ab4159b2bb104ace25a2cb817a097e03", features = ["full"] }
jsonrpsee-proc-macros = "0.11.0"
schemars = "0.8.8"

Expand Down
2 changes: 1 addition & 1 deletion sui/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const SUI_CONFIG_DIR: &str = "sui_config";
pub const SUI_NETWORK_CONFIG: &str = "network.conf";
pub const SUI_WALLET_CONFIG: &str = "wallet.conf";
pub const SUI_GATEWAY_CONFIG: &str = "gateway.conf";
pub const SUI_DEV_NET_URL: &str = "http://gateway.devnet.sui.io:9000";
pub const SUI_DEV_NET_URL: &str = "https://gateway.devnet.sui.io:9000";

pub fn sui_config_dir() -> Result<PathBuf, anyhow::Error> {
match std::env::var_os("SUI_CONFIG_DIR") {
Expand Down

0 comments on commit 2da3779

Please sign in to comment.