Skip to content

Commit bd070d4

Browse files
Update tests to use API V1
1 parent 1720410 commit bd070d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wasm/src/programs/snapshot_query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ mod tests {
271271
let commitments =
272272
vec![FieldNative::from_str(commitment_0).unwrap(), FieldNative::from_str(commitment_1).unwrap()];
273273
let (height, state_paths) =
274-
SnapshotQuery::snapshot_statepaths("http://34.168.156.3:3030", &commitments).await.unwrap();
274+
SnapshotQuery::snapshot_statepaths("https://api.explorer.provable.com/v1", &commitments).await.unwrap();
275275
assert_eq!(state_paths.len(), 2);
276276
let (commitment_0_field, state_path_0) = &state_paths[0];
277277
let (commitment_1_field, state_path_1) = &state_paths[1];

wasm/src/utilities/rest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ mod tests {
9696
)
9797
.unwrap(),
9898
];
99-
let state_paths = get_statepaths_for_commitments("http://34.168.156.3:3030", &commitments).await.unwrap();
99+
let state_paths = get_statepaths_for_commitments("https://api.explorer.provable.com/v1", &commitments).await.unwrap();
100100
assert_eq!(state_paths.len(), 2);
101101
assert_eq!(state_paths[0].global_state_root(), state_paths[1].global_state_root());
102102
}

0 commit comments

Comments
 (0)