Skip to content

Commit

Permalink
Merge pull request #245 from blockfrost/fix/proposal-metadata
Browse files Browse the repository at this point in the history
fix: proposal metadata
  • Loading branch information
slowbackspace authored Jan 24, 2025
2 parents b2369b7 + 3aac353 commit c4fbfa3
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/sql/governance/proposals_proposal_metadata.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,5 @@ FROM gov_action_proposal gap
JOIN tx ON (gap.tx_id = tx.id)
JOIN voting_anchor va ON (va.id = gap.voting_anchor_id)
JOIN off_chain_vote_data ocvd ON (ocvd.voting_anchor_id = va.id)
WHERE encode(tx.hash, 'hex') = 'ccb27f6b0d58c25ae33fd821b62c387f5230dae930afd07489fa3df56ae56522'
AND gap.index = 0


SELECT *
FROM gov_action_proposal gap
JOIN tx ON (gap.tx_id = tx.id)

WHERE encode(tx.hash, 'hex') = '0b19476e40bbbb5e1e8ce153523762e2b6859e7ecacbaf06eae0ee6a447e79b9'
AND gap.index = 0
WHERE encode(tx.hash, 'hex') = $1
AND gap.index = $2

0 comments on commit c4fbfa3

Please # to comment.