diff --git a/.gitignore b/.gitignore index 4cf105ef5..56ef01268 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ deployments/network .task CLAUDE.md +GEMINI.md # dev-only maintenance files maintenance \ No newline at end of file diff --git a/internal/migrations/032-order-book-actions.sql b/internal/migrations/032-order-book-actions.sql index b3d25a767..ee17ecf02 100644 --- a/internal/migrations/032-order-book-actions.sql +++ b/internal/migrations/032-order-book-actions.sql @@ -2461,7 +2461,7 @@ CREATE OR REPLACE ACTION settle_market( for $row in SELECT result_canonical, signature FROM attestations WHERE attestation_hash = $market_hash - ORDER BY signed_height DESC + ORDER BY signed_height DESC NULLS LAST LIMIT 1 { $result_canonical := $row.result_canonical; $signature := $row.signature;