Skip to content

Commit

Permalink
Merge pull request #2186 from IntersectMBO/fix/fix-ga-epoch-boundary-…
Browse files Browse the repository at this point in the history
…for-preprod

fix: ga epoch boundary for preprod
  • Loading branch information
MSzalowski authored Oct 22, 2024
2 parents a316950 + 6181c4d commit 41a5391
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 41a5391

Please sign in to comment.