We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31943f8 commit a29563fCopy full SHA for a29563f
src/test/archive/archive_node_tests/archive_node_tests.ml
@@ -12,7 +12,7 @@ open Mina_automation_fixture.Archive
12
let assert_archived_blocks ~archive_uri ~expected =
13
let connection = Psql.Conn_str archive_uri in
14
let%bind actual_blocks_count =
15
- Psql.run_command ~connection "Select count(*) from blocks where height > 0"
+ Psql.run_command ~connection "Select count(*) from blocks where global_slot_since_genesis > 0"
16
in
17
let actual_blocks_count =
18
actual_blocks_count |> String.strip |> Int.of_string
0 commit comments