Skip to content

Commit 082f556

Browse files
authored
test: switch to pathfinder for integration tests (#529)
1 parent 63538a3 commit 082f556

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

starknet-accounts/tests/single_owner_account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn create_sequencer_client() -> SequencerGatewayProvider {
2626

2727
fn create_jsonrpc_client() -> JsonRpcClient<HttpTransport> {
2828
let rpc_url = std::env::var("STARKNET_RPC")
29-
.unwrap_or("https://juno.rpc.goerli.starknet.rs/rpc/v0_6".into());
29+
.unwrap_or("https://pathfinder.rpc.goerli.starknet.rs/rpc/v0_6".into());
3030
JsonRpcClient::new(HttpTransport::new(url::Url::parse(&rpc_url).unwrap()))
3131
}
3232

starknet-contract/tests/contract_deployment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use url::Url;
1212
#[tokio::test]
1313
async fn can_deploy_contract_to_alpha_goerli() {
1414
let rpc_url = std::env::var("STARKNET_RPC")
15-
.unwrap_or("https://juno.rpc.goerli.starknet.rs/rpc/v0_6".into());
15+
.unwrap_or("https://pathfinder.rpc.goerli.starknet.rs/rpc/v0_6".into());
1616
let provider = JsonRpcClient::new(HttpTransport::new(Url::parse(&rpc_url).unwrap()));
1717
let signer = LocalWallet::from(SigningKey::from_secret_scalar(
1818
FieldElement::from_hex_be(

starknet-providers/tests/jsonrpc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use url::Url;
1818

1919
fn create_jsonrpc_client() -> JsonRpcClient<HttpTransport> {
2020
let rpc_url = std::env::var("STARKNET_RPC")
21-
.unwrap_or("https://juno.rpc.goerli.starknet.rs/rpc/v0_6".into());
21+
.unwrap_or("https://pathfinder.rpc.goerli.starknet.rs/rpc/v0_6".into());
2222
JsonRpcClient::new(HttpTransport::new(Url::parse(&rpc_url).unwrap()))
2323
}
2424

0 commit comments

Comments
 (0)