Skip to content

Commit 4990357

Browse files
committed
fix(client-wasm): ci-test was still using removed snapshot functions
instead of the `cardano_database_snapshot` function that superseded them
1 parent 78a2890 commit 4990357

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mithril-client-wasm/ci-test/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ await run_test("constructor", test_number, async () => {
5656

5757
let snapshots;
5858
test_number++;
59-
await run_test("list_snapshots", test_number, async () => {
60-
snapshots = await client.list_snapshots();
61-
console.log("snapshots", snapshots);
59+
await run_test("list_cardano_database_snapshots", test_number, async () => {
60+
snapshots = await client.list_cardano_database_snapshots();
61+
console.log("list_cardano_database_snapshots", snapshots);
6262
});
6363

6464
test_number++;
65-
await run_test("get_snapshot", test_number, async () => {
66-
const snapshot = await client.get_snapshot(snapshots[0].digest);
67-
console.log("snapshot", snapshot);
65+
await run_test("get_cardano_database_snapshot", test_number, async () => {
66+
const snapshot = await client.get_cardano_database_snapshot(snapshots[0].digest);
67+
console.log("get_cardano_database_snapshot", snapshot);
6868
});
6969

7070
let mithril_stake_distributions;

0 commit comments

Comments
 (0)