Skip to content

cow-venue: dry-run flag on the orderbook adapter #664

Description

@mfw78

Watch-tower harvest car. Derives from watch-tower's dryRun shadow mode (src/types/index.ts; upstream #82), its cheapest and most-used soak tool.

A config flag on the cow-venue adapter that suppresses the POST while writing the journal exactly as if it had posted.

Why

Shadow soak against mainnet is the evidence #65 requires, and it must exercise the true path: poll, verdict, journal reserve and commit, everything except the HTTP POST. Journal-still-written is the point: it validates (watch, uid) dedup and expiry behaviour on real traffic before real orders are at stake, and unlocks running the monitor unattended before the #657 go/no-go.

Scope

  • dry_run in AdapterConfig; POST skipped, a synthetic acceptance recorded, journal written as normal.
  • Each suppressed post logged with the would-be orderUid.

Done when

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/cow-integrationshepherd:cow / cow-api order submissioneffort/hoursFew hours. Single PR.featureNew capability that doesn't exist yet.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions