Skip to content

fix(db): update solver on order quote conflict#4565

Open
metalurgical wants to merge 1 commit into
cowprotocol:mainfrom
metalurgical:order_missing_sql_bind
Open

fix(db): update solver on order quote conflict#4565
metalurgical wants to merge 1 commit into
cowprotocol:mainfrom
metalurgical:order_missing_sql_bind

Conversation

@metalurgical

Copy link
Copy Markdown
Contributor

Description

Currently the solver column is not updated with the solver value in order_quotes table despite being bound as a parameter to the query in the code, this PR adds the solver field to the ON_CONFLICT query.

Changes

  • Add solver = $7, to the insert_quote_and_update_on_conflict query

@metalurgical metalurgical requested a review from a team as a code owner June 25, 2026 23:23

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the insert_quote_and_update_on_conflict function in crates/database/src/orders.rs to include the solver field (solver = $7) in the SQL ON CONFLICT update clause. No critical issues were found, and there is no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant