Skip to content

fix(limit-orders): retain linked outputs for 180 days - #3125

Open
arthurdiegotao wants to merge 1 commit into
RaoFoundation:mainfrom
arthurdiegotao:fix/tdc-1902-linked-output-ttl
Open

fix(limit-orders): retain linked outputs for 180 days#3125
arthurdiegotao wants to merge 1 commit into
RaoFoundation:mainfrom
arthurdiegotao:fix/tdc-1902-linked-output-ttl

Conversation

@arthurdiegotao

Copy link
Copy Markdown

Summary

  • raise LimitOrdersLinkedOutputTtl from 7 days to 180 days
  • bump the runtime spec version from 450 to 451
  • add a regression test pinning the advanced-order GTC lifetime

Context

Advanced Orders 2.1 signs GTC orders for 180 days. Linked consumers can only draw a provider record while LinkedOutputTtl remains active, so the previous 7-day runtime value made the backend reject production linked SL/TP preparation.

Backend integration: https://github.com/tao-com-official/advanced-orders-backend/pull/182

Unconsumed provider records remain unprunable for longer, increasing maximum retention from 7 days to 180 days. Consumed records are still removed when the linked output is drawn.

Verification

  • cargo fmt --all --check
  • SKIP_WASM_BUILD=1 cargo test -p node-subtensor-runtime linked_output_ttl_covers_advanced_order_gtc_lifetime

@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

@arthurdiegotao is attempting to deploy a commit to the RaoFoundation Team on Vercel.

A member of the Team first needs to authorize it.

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