You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore: Remove feature gates for verified quotes #2394
The flag has been removed in #3824. The implementation hardcodes QuoteVerificationMode::Prefer in CompetitionEstimator and removes the CLI argument from all services.
Changes affect price_estimation/mod.rs (removed Arguments field), competition/mod.rs (hardcoded default), order_quoting.rs (simplified logic), and both orderbook and autopilot service initialization. E2E tests in setup/services.rs and replace_order.rs were also updated.
Testing completed with cargo check, clippy, and unit tests all passing. Ready for review.
@MartinquaXD#3824 showed this flag is architectural, not a feature gate. The system needs unverified quotes sometimes (fast_quoter uses them), so removing the flag breaks that. Should close this issue.
Hi @MartinquaXD — I'd like to pick this up, but I want to confirm scope before writing any code.
@Grinsven raised in #3824 that the verification flag may be architectural rather than a feature gate — specifically that some paths (e.g. fast_quoter) rely on unverified quotes, so fully removing it could break that behavior.
Before I start: is this issue still valid as written? Are you looking to (a) remove the flag entirely and hardcode QuoteVerificationMode::Prefer, or (b) keep the capability but clean up the gating in a narrower way? Happy to take it on once the intended end state is clear.
Hi @MartinquaXD, I'd like to claim the remaining work on #2394. I reviewed CONTRIBUTING.md, the discussion around #3824, and the current quote configuration and ranking code.
I propose removing only obsolete rollout configuration while preserving the fast/unverified quote path and adding regression coverage. Could you confirm the remaining scope, eligibility for the documented 100 DAI reward, and assign me if suitable?
This would be AI-assisted using Codex, with tests and my review before submission. Please flag any additional AI contribution requirements. I'll wait for scope confirmation and assignment before implementation.
Hi @MartinquaXD — I'd like to pick up #2394, but only after the scope is confirmed, since the history here suggests the straightforward reading may not be what you want.
What I've read so far:
Remove quote verification flag (#2394) #3824 implemented the literal request (removed the --quote-verification flag and hardcoded Prefer), and your review on 27 Oct 2025 declined it: "Every now and again we make use of unverified quotes so I think the flag should not be removed after all." @Grinsven then concluded the flag is architectural rather than a feature gate and suggested closing this issue.
chore: Remove feature gates for verified quotes #5122 tried again in Oct 2026 (deleted the whole enum and hardcoded always-prefer), but it never got a review, was auto-closed as stale on 5 Nov, and as submitted it would not compile — it left the Solana orderbook (infra/verifier.rs, infra/config.rs) and an e2e test still referencing the deleted enum/field.
@0xDevNinja (Jun 2026) and @phil-on1407 (Sep 2026) both asked for scope confirmation before coding, and neither question got an answer yet. @phil-on1407's proposal — remove only obsolete rollout configuration while preserving the fast/unverified quote path, plus regression coverage — looks like the most plausible middle ground to me.
Before I write any code, could you confirm:
Is this issue still valid, or should it be closed as @Grinsven suggested?
Which end state do you want: (a) delete the quote-verification config option and the enum entirely and hardcode Prefer everywhere (including the native price estimator and the Solana verifier), or (b) the narrower cleanup @phil-on1407 proposed? If (b), which configuration counts as obsolete?
The default today is Unverified — is changing the default behavior for deployments that don't set the field acceptable?
Is the Solana orderbook in scope for this issue, or should the EVM side be done first?
If the scope is confirmed, could you please assign the issue to me and confirm it is still eligible for the documented 100 DAI reward for merged PRs closing help wanted issues? I have not written any code yet and will wait for your confirmation.
One disclosure: I work with an AI coding assistant (Muse) for analysis and drafting, with my own review before anything is submitted. Please let me know if there are any additional requirements for AI-assisted contributions.
What I have verified on current main (HEAD 4603c1e, 2026-11-11):
The old --prefer-verified-quotes CLI flag no longer exists; what remains is the quote-verification config option (QuoteVerificationMode, default Unverified, crates/configs/src/price_estimation.rs:14-21,61) referenced in 8 files including the Solana orderbook and e2e tests.
Is this issue still valid, or should it be closed as @Grinsven suggested?
If valid, which end state: (a) delete the config option + enum and hardcode Prefer everywhere (incl. the Solana verifier), or (b) a narrower cleanup preserving the unverified/fast-quote path — and if (b), which config counts as obsolete?
If the scope is confirmed, please assign it to me and confirm it is still eligible for the documented 100 DAI reward for merged PRs closing help wanted issues.
I have not written any code yet and will wait for your confirmation. Disclosure: I work with an AI coding assistant for analysis and drafting, with my own review before anything is submitted. Please let me know if there are any additional requirements for AI-assisted contributions.
Hi @MartinquaXD, I'd like to take on #2394 — but I want to make sure I build the right thing before writing any code, because the history here is mixed.
From what I can see on current main: the --prefer-verified-quotes CLI flag is gone, but the quote-verification config option (QuoteVerificationMode, default Unverified) is still there, referenced across the price estimation, competition and quoting code, plus the Solana orderbook. #3824 did the literal removal and you declined it in Oct 2025 since unverified quotes are still used sometimes; #5122 tried again, never got reviewed, and went stale. @Grinsven's take was that the flag is architectural rather than a feature gate.
So before I start, could you confirm:
Is this issue still open and valid, or should it be closed?
If valid, what's the end state you want — (a) remove the config option and enum entirely and hardcode Prefer everywhere, including the Solana verifier, or (b) a narrower cleanup that keeps the fast/unverified quote path, and if (b), which config is obsolete?
Is the Solana orderbook in scope here, or EVM side first?
If the scope is confirmed, please assign it to me and confirm the 100 DAI reward still applies for a merged PR closing this help wanted issue. I haven't written any code yet and I'll wait for your go-ahead.
Disclosure: I use an AI coding assistant for analysis and drafting, and I review everything myself before submitting. Let me know if there are extra requirements for AI-assisted contributions.
Is this still wanted, and what would the scope be? I checked the history: #3824 removed the gates and was declined in Oct 2025 since unverified quotes are still used (e.g. fast_quoter), and the remaining surface looks like the quote-verification config option across a few files now, not the old CLI flag. If the intended change is removing that config option, I am happy to take it on - just wanted to confirm scope first so I do not repeat #3824.
Hi @georgeonweb3 — thanks for digging into the history, that's useful context. Just flagging that I already asked to take this on yesterday and am waiting on @MartinquaXD to confirm the scope and assignment (my comment: #2394 (comment)). Happy to go with whatever the maintainer decides, but wanted to note the claim so we don't duplicate effort.
Activity
github-actions commentedon Apr 10, 2024
This issue has been marked as stale because it has been inactive a while. Please update this issue or it will be automatically closed.
github-actions commentedon Jun 13, 2024
This issue has been marked as stale because it has been inactive a while. Please update this issue or it will be automatically closed.
fleupold commentedon Jun 13, 2024
@MartinquaXD is this still outstanding?
github-actions commentedon Sep 9, 2024
This issue has been marked as stale because it has been inactive a while. Please update this issue or it will be automatically closed.
Freakycoder commentedon Oct 22, 2025
can i work on this issue?
Remove quote verification flag (cowprotocol#2394)
Grinsven commentedon Oct 26, 2025
The flag has been removed in #3824. The implementation hardcodes QuoteVerificationMode::Prefer in CompetitionEstimator and removes the CLI argument from all services.
Changes affect price_estimation/mod.rs (removed Arguments field), competition/mod.rs (hardcoded default), order_quoting.rs (simplified logic), and both orderbook and autopilot service initialization. E2E tests in setup/services.rs and replace_order.rs were also updated.
Testing completed with cargo check, clippy, and unit tests all passing. Ready for review.
Grinsven commentedon Oct 27, 2025
@MartinquaXD #3824 showed this flag is architectural, not a feature gate. The system needs unverified quotes sometimes (fast_quoter uses them), so removing the flag breaks that. Should close this issue.
0xDevNinja commentedon Jun 24, 2026
Hi @MartinquaXD — I'd like to pick this up, but I want to confirm scope before writing any code.
@Grinsven raised in #3824 that the verification flag may be architectural rather than a feature gate — specifically that some paths (e.g.
fast_quoter) rely on unverified quotes, so fully removing it could break that behavior.Before I start: is this issue still valid as written? Are you looking to (a) remove the flag entirely and hardcode
QuoteVerificationMode::Prefer, or (b) keep the capability but clean up the gating in a narrower way? Happy to take it on once the intended end state is clear.phil-on1407 commentedon Sep 8, 2026
Hi @MartinquaXD, I'd like to claim the remaining work on #2394. I reviewed CONTRIBUTING.md, the discussion around #3824, and the current quote configuration and ranking code.
I propose removing only obsolete rollout configuration while preserving the fast/unverified quote path and adding regression coverage. Could you confirm the remaining scope, eligibility for the documented 100 DAI reward, and assign me if suitable?
This would be AI-assisted using Codex, with tests and my review before submission. Please flag any additional AI contribution requirements. I'll wait for scope confirmation and assignment before implementation.
chore: Remove feature gates for verified quotes
chore: Remove feature gates for verified quotes
mediabeyondatlas-dev commentedon Nov 6, 2026
Hi @MartinquaXD — I'd like to pick up #2394, but only after the scope is confirmed, since the history here suggests the straightforward reading may not be what you want.
What I've read so far:
--quote-verificationflag and hardcodedPrefer), and your review on 27 Oct 2025 declined it: "Every now and again we make use of unverified quotes so I think the flag should not be removed after all." @Grinsven then concluded the flag is architectural rather than a feature gate and suggested closing this issue.infra/verifier.rs,infra/config.rs) and an e2e test still referencing the deleted enum/field.Before I write any code, could you confirm:
quote-verificationconfig option and the enum entirely and hardcodePrefereverywhere (including the native price estimator and the Solana verifier), or (b) the narrower cleanup @phil-on1407 proposed? If (b), which configuration counts as obsolete?Unverified— is changing the default behavior for deployments that don't set the field acceptable?If the scope is confirmed, could you please assign the issue to me and confirm it is still eligible for the documented 100 DAI reward for merged PRs closing
help wantedissues? I have not written any code yet and will wait for your confirmation.One disclosure: I work with an AI coding assistant (Muse) for analysis and drafting, with my own review before anything is submitted. Please let me know if there are any additional requirements for AI-assisted contributions.
Thanks!
rjrajput-web3 commentedon Nov 11, 2026
Hi @MartinquaXD — I would like to claim #2394, but the scope needs confirmation first, as @0xDevNinja, @phil-on1407 and @mediabeyondatlas-dev also asked.
What I have verified on current main (HEAD 4603c1e, 2026-11-11):
--prefer-verified-quotesCLI flag no longer exists; what remains is thequote-verificationconfig option (QuoteVerificationMode, defaultUnverified, crates/configs/src/price_estimation.rs:14-21,61) referenced in 8 files including the Solana orderbook and e2e tests.Could you confirm:
Prefereverywhere (incl. the Solana verifier), or (b) a narrower cleanup preserving the unverified/fast-quote path — and if (b), which config counts as obsolete?help wantedissues.I have not written any code yet and will wait for your confirmation. Disclosure: I work with an AI coding assistant for analysis and drafting, with my own review before anything is submitted. Please let me know if there are any additional requirements for AI-assisted contributions.
Thanks!
feriandi02 commentedon Nov 17, 2026
Hi @MartinquaXD, I'd like to take on #2394 — but I want to make sure I build the right thing before writing any code, because the history here is mixed.
From what I can see on current main: the --prefer-verified-quotes CLI flag is gone, but the quote-verification config option (QuoteVerificationMode, default Unverified) is still there, referenced across the price estimation, competition and quoting code, plus the Solana orderbook. #3824 did the literal removal and you declined it in Oct 2025 since unverified quotes are still used sometimes; #5122 tried again, never got reviewed, and went stale. @Grinsven's take was that the flag is architectural rather than a feature gate.
So before I start, could you confirm:
If the scope is confirmed, please assign it to me and confirm the 100 DAI reward still applies for a merged PR closing this help wanted issue. I haven't written any code yet and I'll wait for your go-ahead.
Disclosure: I use an AI coding assistant for analysis and drafting, and I review everything myself before submitting. Let me know if there are extra requirements for AI-assisted contributions.
Thanks!
georgeonweb3 commentedon Nov 18, 2026
Is this still wanted, and what would the scope be? I checked the history: #3824 removed the gates and was declined in Oct 2025 since unverified quotes are still used (e.g. fast_quoter), and the remaining surface looks like the quote-verification config option across a few files now, not the old CLI flag. If the intended change is removing that config option, I am happy to take it on - just wanted to confirm scope first so I do not repeat #3824.
feriandi02 commentedon Nov 18, 2026
Hi @georgeonweb3 — thanks for digging into the history, that's useful context. Just flagging that I already asked to take this on yesterday and am waiting on @MartinquaXD to confirm the scope and assignment (my comment: #2394 (comment)). Happy to go with whatever the maintainer decides, but wanted to note the claim so we don't duplicate effort.