Skip to content

Commit

Permalink
fix(proposals): specify that type is gap
Browse files Browse the repository at this point in the history
  • Loading branch information
1000101 committed Jun 12, 2024
1 parent bf13285 commit ef137df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sql/governance/proposals_proposal.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SELECT encode(tx.hash, 'hex') AS "tx_hash",
gap.index AS "cert_index",
(
LOWER(
regexp_replace(type::TEXT, '(?<=.{1})([A-Z])', '_\1', 'g')
regexp_replace(gap.type::TEXT, '(?<=.{1})([A-Z])', '_\1', 'g')
)
) AS "governance_type",
-- type HardForkInitiation, NewCommittee, NewConstitution, InfoAction, NoConfidence, ParameterChange, TreasuryWithdrawals
Expand Down

0 comments on commit ef137df

Please sign in to comment.