Skip to content

Commit

Permalink
chore: deterministic ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
zone117x committed Nov 22, 2024
1 parent 3f369ce commit 66eacf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/pg/pg-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,7 @@ export class PgStore extends BasePgStore {
)) AS block_ranges
FROM aggregated_counts
GROUP BY signer_key
ORDER BY signer_key, block_ranges
`;
return result;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/db/endpoints.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe('Endpoint tests', () => {
});
});

test('get metrics', async () => {
test('prometheus signer metrics', async () => {
const bucketsEnvName = 'SIGNER_PROMETHEUS_METRICS_BLOCK_PERIODS';
const orig = ENV[bucketsEnvName];

Expand Down

0 comments on commit 66eacf4

Please sign in to comment.