Repository navigation
Document a tradingDelay of 2 to 4 governance cycles - #1317
Conversation
The delay exists to give governance time to choose a better basket after an emergency basket change, so it should be longer than one governance cycle (8 days for the live RTokens). The documented range of 0 to 7 days was too short. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 45 minutes. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
2 to 4 governance cycles, instead of a fixed 2 to 4 weeks. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Summary
Documents a
tradingDelayof 2 to 4 governance cycles, replacing the old range of 0 to 7 days.Stacked on #1316.
Why
Trust audit finding "tradingDelay is documented with 0-7 days" (QA).
From 4.3.0 the delay gives governance time to choose a better basket after an emergency basket change. One governance cycle is 8 days for eUSD, ETH+, USD3, and bsdETH (2 day voting delay, 3 day voting period, 3 day timelock), so a delay of 7 days or less ends before governance can act.
The range is expressed in governance cycles rather than fixed durations, so it stays right for an RToken with a different cycle.
Changes
docs/deployment-variables.md: reasonable range is now 2 to 4 governance cycles (1382400to2764800for an 8 day cycle), with a sentence on why the delay should be a multiple of the cycle. The documented default moves from0to 2 governance cycles so it sits inside the range.Docs only. No contract or deployment config changes.
🤖 Generated with Claude Code
Summary by CodeRabbit
tradingDelaydefault to two governance cycles (16 days) and its reasonable range to two to four cycles (16–32 days) for eUSD, ETH+, USD3, and bsdETH.