Skip to content

fix(R-C-01, R-M-01): isolated liquidity + outflow rate limit + RGB opId/amount binding#84

Merged
sh3ifu merged 10 commits into
test/remove-obsolete-executeBatch-reprofrom
fix-R-C-01-R-M-01
Jun 30, 2026
Merged

fix(R-C-01, R-M-01): isolated liquidity + outflow rate limit + RGB opId/amount binding#84
sh3ifu merged 10 commits into
test/remove-obsolete-executeBatch-reprofrom
fix-R-C-01-R-M-01

Conversation

@sh3ifu

@sh3ifu sh3ifu commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

What

Lands two audit fixes:

  • R-C-01 — per-chain isolated liquidity + per-chain & global outflow rate
    limit on fundsOut (vendored Chainlink RateLimiter in OutflowRateLimiter).
  • R-M-01RgbSettlementModule.beforeFundsOut verifies every
    (operationId, amount) pair (existence + exact amount), replacing the
    single-array early-exit logic.

Also drops the now-obsolete R-I-10 pre-fix reproduction test invalidated by the
R-M-01 behavior change.

Why one PR

The R-C-01 and R-M-01 branches were stacked and their sources/tests are
entangled, so they cannot be cleanly separated for the dev-landing. Per-finding
review is preserved by the existing PRs #76/#77/#79/#80.

Base

Stacked on test/remove-obsolete-executeBatch-repro (restores dev to a
compiling state).

@sh3ifu sh3ifu changed the title Fix r c 01 r m 01 fix(R-C-01, R-M-01): isolated liquidity + outflow rate limit + RGB opId/amount binding Jun 30, 2026
@sh3ifu sh3ifu changed the base branch from dev to test/remove-obsolete-executeBatch-repro June 30, 2026 10:48
@sh3ifu sh3ifu merged commit c533434 into test/remove-obsolete-executeBatch-repro Jun 30, 2026
4 checks passed
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