Skip to content

fix(cow-api): surface valid_to horizon errors#172

Open
ribeirojose wants to merge 1 commit into
nullislabs:developfrom
ribeirojose:codex/cow-valid-to-horizon
Open

fix(cow-api): surface valid_to horizon errors#172
ribeirojose wants to merge 1 commit into
nullislabs:developfrom
ribeirojose:codex/cow-valid-to-horizon

Conversation

@ribeirojose

Copy link
Copy Markdown

Summary

  • bump Shepherd cowprotocol dependencies to 0.2.0-alpha.1
  • preserve the cow-rs OrderCreation validation reason in guest-facing cow-api decode errors
  • add long-horizon valid_to regression coverage and update TWAP/stop-loss constructor usage for the new SDK

Fixes #169

Tests

  • ASDF_RUST_VERSION=1.95.0 cargo fmt --all -- --check
  • ASDF_RUST_VERSION=1.95.0 cargo test -p shepherd-cow-host
  • ASDF_RUST_VERSION=1.95.0 cargo test -p twap-monitor --lib
  • ASDF_RUST_VERSION=1.95.0 cargo test --workspace --all-targets

@ribeirojose ribeirojose requested a review from mfw78 as a code owner July 3, 2026 21:20
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