feat(tokens): add MU/AMD/AVGO/AMAT/LRCX/TTWO to the Base production token list - #265
Conversation
|
Warning Review limit reached
Next review available in: 1 minute Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
ChangesBase production token inventory
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/lib/LibTokenInvariants.sol`:
- Around line 288-295: Update the assertAll documentation to describe
ownership/authoriser validation as O(number of production token instances)
external vault calls, replacing the stale O(13) count. Keep the documentation
aligned with productionTokensBase and its current 28-entry table without
hard-coding a count that can become outdated.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: baafa583-56d0-4385-8e30-e337a49917a0
📒 Files selected for processing (1)
src/lib/LibTokenInvariants.sol
e393e6b to
6c08c71
Compare
6c08c71 to
a76cb40
Compare
83bec06 to
898c31a
Compare
a76cb40 to
ef23074
Compare
898c31a to
70d49c5
Compare
ef23074 to
f1f215f
Compare
70d49c5 to
1934241
Compare
…oken list Adds the six Base production tokens from st0x.registry base.json (Micron, AMD, Broadcom, Applied Materials, Lam Research, Take-Two) to LibTokenInvariants.productionTokensBase — the receipt / receipt-vault / wrapped-vault pins — taking the Base table from 22 to 28. The Ethereum mirror + the derived productionReceiptVaults() pick them up automatically. Verified live on Base: all six receipt vaults owned by the token-owner Safe and on the shared V3 authoriser; LibTokenInvariantsTest uniform owner + authoriser pass with 28 vaults. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VPs1hCTxusmaSeFKvoc4Kr
f1f215f to
4b7e5c8
Compare
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Reviewed 669223e: approve Fresh run 29953700364 (20:05 UTC, on this head) leaves exactly one test failure: Worth recording why, because I got this wrong first time round: that earlier failure named MU's receipt vault Verified independently before merging, rather than inferring from CI:
The doc-comment rewrap in |

Adds the six Base production tokens from st0x.registry base.json (Micron,
AMD, Broadcom, Applied Materials, Lam Research, Take-Two) to
LibTokenInvariants.productionTokensBase — the receipt / receipt-vault /
wrapped-vault pins — taking the Base table from 22 to 28. The Ethereum
mirror + the derived productionReceiptVaults() pick them up automatically.
Verified live on Base: all six receipt vaults owned by the token-owner Safe
and on the shared V3 authoriser; LibTokenInvariantsTest uniform owner +
authoriser pass with 28 vaults.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01VPs1hCTxusmaSeFKvoc4Kr
Summary by CodeRabbit