Skip to content

chore: Remove feature gates for verified quotes #2394

Open

Description

@MartinquaXD

Background

Just a reminder to clean up CLI flags related to verified quotes after we stabilized the features.

Details

  • delete --prefer-verified-quotes flag and prefer verified quotes unconditionally

Activity

  1. added
    E:3.2 Verified Quotes
    on Feb 9, 2024
  2. github-actions commented on Apr 10, 2024

    @github-actions

    This issue has been marked as stale because it has been inactive a while. Please update this issue or it will be automatically closed.

  3. github-actions commented on Jun 13, 2024

    @github-actions

    This issue has been marked as stale because it has been inactive a while. Please update this issue or it will be automatically closed.

  4. fleupold commented on Jun 13, 2024

    @fleupold
    Contributor

    @MartinquaXD is this still outstanding?

  5. github-actions commented on Sep 9, 2024

    @github-actions

    This issue has been marked as stale because it has been inactive a while. Please update this issue or it will be automatically closed.

  6. added
    good first issue
    help wanted
    and removed on Sep 9, 2024
  7. Freakycoder commented on Oct 22, 2025

    @Freakycoder

    can i work on this issue?

  8. Grinsven commented on Oct 26, 2025

    @Grinsven
    Contributor

    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.

  9. Grinsven commented on Oct 27, 2025

    @Grinsven
    Contributor

    @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.

  10. 0xDevNinja commented on Jun 24, 2026

    @0xDevNinja
    Contributor

    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.

  11. phil-on1407 commented on Sep 8, 2026

    @phil-on1407

    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.

  12. added 2 commits that reference this issue on Oct 19, 2026
    b29be9a
    27297b9
  13. mediabeyondatlas-dev commented on Nov 6, 2026

    @mediabeyondatlas-dev

    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:

    1. Is this issue still valid, or should it be closed as @Grinsven suggested?
    2. 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?
    3. The default today is Unverified — is changing the default behavior for deployments that don't set the field acceptable?
    4. 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.

    Thanks!

  14. rjrajput-web3 commented on Nov 11, 2026

    @rjrajput-web3

    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):

    • 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.
    • Remove quote verification flag (#2394) #3824 (the literal removal) was declined by you on 27 Oct 2025 because unverified quotes are still used sometimes; chore: Remove feature gates for verified quotes #5122 tried again, was never reviewed and auto-closed stale on 5 Nov 2026.

    Could you confirm:

    1. Is this issue still valid, or should it be closed as @Grinsven suggested?
    2. 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?
    3. 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.

    Thanks!

  15. feriandi02 commented on Nov 17, 2026

    @feriandi02

    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:

    1. Is this issue still open and valid, or should it be closed?
    2. 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?
    3. 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.

    Thanks!

  16. georgeonweb3 commented on Nov 18, 2026

    @georgeonweb3

    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.

  17. feriandi02 commented on Nov 18, 2026

    @feriandi02

    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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    E:3.2 Verified Quotesgood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions