Skip to content

Commit

Permalink
fix: target start date of the expiration epoch in GAs
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Oct 17, 2024
1 parent 2d10730 commit 6c473b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions govtool/backend/sql/list-proposals.sql
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ SELECT
) as description,
CASE
WHEN meta.network_name::text = 'mainnet' THEN
latest_epoch.start_time + (gov_action_proposal.expiration - latest_epoch.no)::bigint * INTERVAL '5 days' + INTERVAL '5 days'
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' + INTERVAL '1 day'
latest_epoch.start_time + (gov_action_proposal.expiration - latest_epoch.no)::bigint * INTERVAL '1 day'
END AS expiry_date,
gov_action_proposal.expiration,
creator_block.time,
Expand Down

0 comments on commit 6c473b7

Please sign in to comment.