* feat: update api urls (cherry picked from commit0f3045fb68
) * fix: cluster test (cherry picked from commitae5a10dffd
) * docs: update old devnet and testnet url references (cherry picked from commitec621e71dc
) * fix: update devnet and testnet urls (cherry picked from commit7be3171f4a
) Co-authored-by: Josh Hundley <josh.hundley@gmail.com>
This commit is contained in:
@@ -107,13 +107,13 @@ mod test {
|
||||
#[test]
|
||||
fn compute_websocket_url() {
|
||||
assert_eq!(
|
||||
Config::compute_websocket_url(&"http://devnet.solana.com"),
|
||||
"ws://devnet.solana.com/".to_string()
|
||||
Config::compute_websocket_url(&"http://api.devnet.solana.com"),
|
||||
"ws://api.devnet.solana.com/".to_string()
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
Config::compute_websocket_url(&"https://devnet.solana.com"),
|
||||
"wss://devnet.solana.com/".to_string()
|
||||
Config::compute_websocket_url(&"https://api.devnet.solana.com"),
|
||||
"wss://api.devnet.solana.com/".to_string()
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
|
Reference in New Issue
Block a user