Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Incorrect proposal parameters

## [3.1.0] - 2025-01-20

### Changed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dependencies": {
"@blockfrost/blockfrost-js": "5.5.0",
"@blockfrost/blockfrost-utils": "2.8.1",
"@blockfrost/openapi": "0.1.72",
"@blockfrost/openapi": "0.1.73",
"@fastify/cors": "^9.0.1",
"@fastify/http-proxy": "^9.5.0",
"@fastify/postgres": "^5.2.2",
Expand Down
10 changes: 4 additions & 6 deletions src/sql/governance/proposals_proposal_parameters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ SELECT encode(tx.hash, 'hex') AS "tx_hash",
'decentralisation_param',
decentralisation,
'extra_entropy',
extra_entropy,
entropy,
'protocol_major_ver',
protocol_major,
'protocol_minor_ver',
Expand All @@ -40,8 +40,6 @@ SELECT encode(tx.hash, 'hex') AS "tx_hash",
COALESCE(coins_per_utxo_size, min_utxo_value)::TEXT,
'min_pool_cost',
min_pool_cost::TEXT,
'nonce',
encode(nonce, 'hex'),
'cost_models',
cm.costs,
'price_mem',
Expand Down Expand Up @@ -116,8 +114,8 @@ SELECT encode(tx.hash, 'hex') AS "tx_hash",
)::JSONB
) AS "parameters"
FROM gov_action_proposal gap
JOIN tx ON (gap.tx_id = tx.id)
JOIN epoch_param ep ON (gap.param_proposal = ep.id)
LEFT JOIN cost_model cm ON (ep.cost_model_id = cm.id)
JOIN tx ON (gap.tx_id = tx.id)
JOIN param_proposal pp ON (gap.param_proposal = pp.id)
LEFT JOIN cost_model cm ON (pp.cost_model_id = cm.id)
WHERE encode(tx.hash, 'hex') = $1
AND gap.index = $2
28 changes: 14 additions & 14 deletions yarn-project.nix

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ __metadata:
languageName: node
linkType: hard

"@blockfrost/openapi@npm:0.1.72":
version: 0.1.72
resolution: "@blockfrost/openapi@npm:0.1.72"
"@blockfrost/openapi@npm:0.1.73":
version: 0.1.73
resolution: "@blockfrost/openapi@npm:0.1.73"
dependencies:
ajv: ^8.17.1
cbor: ^9.0.2
rimraf: 6.0.1
yaml: ^2.6.1
checksum: 7cc2e86b215caf670a5e0989fcf353e8cd5dabcad88e28ad6d3d244f9737dc71a84c8d62123efd5adde9cfdeb902bfc93146a6dc291ec57d3e4d090e7748ccbd
checksum: 8913579870a354e737fecd5146b708d349ec5d7d647b9a851a8c032efbe25eb32db9356e8b7607867ac98f48627cd873997a31aac63f4e8aa986153f049c4b5f
languageName: node
linkType: hard

Expand Down Expand Up @@ -2144,7 +2144,7 @@ __metadata:
dependencies:
"@blockfrost/blockfrost-js": 5.5.0
"@blockfrost/blockfrost-utils": 2.8.1
"@blockfrost/openapi": 0.1.72
"@blockfrost/openapi": 0.1.73
"@fastify/cors": ^9.0.1
"@fastify/http-proxy": ^9.5.0
"@fastify/postgres": ^5.2.2
Expand Down
Loading