Skip to content

Commit

Permalink
fix: ga epoch boundary for preprod
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Oct 21, 2024
1 parent 27915e9 commit 6181c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion govtool/backend/sql/list-proposals.sql
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ SELECT
end
) as description,
CASE
WHEN meta.network_name::text = 'mainnet' THEN
WHEN meta.network_name::text = 'mainnet' OR meta.network_name::text = 'preprod' THEN
latest_epoch.start_time + (gov_action_proposal.expiration - latest_epoch.no)::bigint * INTERVAL '5 days'
ELSE
latest_epoch.start_time + (gov_action_proposal.expiration - latest_epoch.no)::bigint * INTERVAL '1 day'
Expand Down

0 comments on commit 6181c4d

Please sign in to comment.