Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(iota): update testnet and devnet urls #4001

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/iota-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ pub const IOTA_COIN_TYPE: &str = "0x2::iota::IOTA";
pub const IOTA_LOCAL_NETWORK_URL: &str = "http://127.0.0.1:9000";
pub const IOTA_LOCAL_NETWORK_URL_0: &str = "http://0.0.0.0:9000";
pub const IOTA_LOCAL_NETWORK_GAS_URL: &str = "http://127.0.0.1:5003/gas";
pub const IOTA_DEVNET_URL: &str = "https://fullnode.devnet.iota.io:443";
pub const IOTA_TESTNET_URL: &str = "https://fullnode.testnet.iota.io:443";
pub const IOTA_DEVNET_URL: &str = "https://api.devnet.iota.cafe";
pub const IOTA_TESTNET_URL: &str = "https://api.testnet.iota.cafe";

/// Builder for creating an [IotaClient] for connecting to the Iota network.
///
Expand Down
4 changes: 2 additions & 2 deletions crates/iota/src/client_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1541,8 +1541,8 @@ impl IotaClientCommands {

if let Ok(env) = active_env {
let network = match env.rpc().as_str() {
IOTA_DEVNET_URL => "https://faucet.devnet.iota.io/v1/gas",
IOTA_TESTNET_URL => "https://faucet.testnet.iota.io/v1/gas",
IOTA_DEVNET_URL => "https://faucet.devnet.iota.cafe/v1/gas",
IOTA_TESTNET_URL => "https://faucet.testnet.iota.cafe/v1/gas",
IOTA_LOCAL_NETWORK_URL | IOTA_LOCAL_NETWORK_URL_0 => {
"http://127.0.0.1:9123/gas"
}
Expand Down
2 changes: 1 addition & 1 deletion crates/iota/src/unit_tests/profiler_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async fn test_profiler() {
let output_dir = tempdir().unwrap();
let profile_output = output_dir.path().join("profile.json");

let testnet_url = "https://fullnode.testnet.iota.io:443".to_string();
let testnet_url = "https://api.testnet.iota.cafe".to_string();
let tx_digest = "98KxVD14f2JgceKx4X27HaVAA2YGJ3Aazf6Y4tabpHa8".to_string();

let cmd = ReplayToolCommand::ProfileTransaction {
Expand Down
Loading