Skip to content

Commit a29563f

Browse files
committed
use global_slot_since_genesis instead of height
1 parent 31943f8 commit a29563f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/archive/archive_node_tests/archive_node_tests.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ open Mina_automation_fixture.Archive
1212
let assert_archived_blocks ~archive_uri ~expected =
1313
let connection = Psql.Conn_str archive_uri in
1414
let%bind actual_blocks_count =
15-
Psql.run_command ~connection "Select count(*) from blocks where height > 0"
15+
Psql.run_command ~connection "Select count(*) from blocks where global_slot_since_genesis > 0"
1616
in
1717
let actual_blocks_count =
1818
actual_blocks_count |> String.strip |> Int.of_string

0 commit comments

Comments
 (0)