Skip to content

Commit

Permalink
test: fix incorrect test urls with v0_6 (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI authored Jan 14, 2025
1 parent 549b639 commit 96bc685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions starknet-contract/tests/contract_deployment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const CHAIN_ID: Felt = Felt::from_raw([
#[tokio::test]
async fn can_deploy_contract_to_alpha_sepolia_with_invoke_v1() {
let rpc_url = std::env::var("STARKNET_RPC")
.unwrap_or_else(|_| "https://pathfinder.rpc.sepolia.starknet.rs/rpc/v0_6".into());
.unwrap_or_else(|_| "https://pathfinder.rpc.sepolia.starknet.rs/rpc/v0_7".into());
let provider = JsonRpcClient::new(HttpTransport::new(Url::parse(&rpc_url).unwrap()));
let signer = LocalWallet::from(SigningKey::from_secret_scalar(
Felt::from_hex("00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap(),
Expand Down Expand Up @@ -55,7 +55,7 @@ async fn can_deploy_contract_to_alpha_sepolia_with_invoke_v1() {
#[tokio::test]
async fn can_deploy_contract_to_alpha_sepolia_with_invoke_v3() {
let rpc_url = std::env::var("STARKNET_RPC")
.unwrap_or_else(|_| "https://pathfinder.rpc.sepolia.starknet.rs/rpc/v0_6".into());
.unwrap_or_else(|_| "https://pathfinder.rpc.sepolia.starknet.rs/rpc/v0_7".into());
let provider = JsonRpcClient::new(HttpTransport::new(Url::parse(&rpc_url).unwrap()));
let signer = LocalWallet::from(SigningKey::from_secret_scalar(
Felt::from_hex("00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap(),
Expand Down

0 comments on commit 96bc685

Please sign in to comment.