defirisk.co
rubric v1.7.0

Code divergence from upstream (%)

Dolomite's assessment for RD-F-129 — scored yellow on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.

Evidence summary #

README documents substantial auxiliary additions: getPartialRoundHalfUp, numberOfMarketsWithBorrow optimization, marketsWithNonZeroBalanceSet hash set, isRecyclable field, maxWei deposit caps, accountMaxNumberOfMarketsWithBalances limit, global operator whitelist for liquidators/expirations, compiler upgrade 0.5.7→0.5.16. Additionally, the separate dolomite-margin-modules repo (18 packages) adds a full upgradeable module layer. Estimated divergence: 30-50% across combined codebase (yellow range). Cannot perform exact git diff via WebFetch; estimate from documentation.

Sources #

  • GitHub
    Dolomite Margin Modulesdolomite-margin-modules: 18 package modules layer — separate repo, substantial additional codebaseretrieved 2026-05-16
  • GitHub
    DolomiteMargin READMEREADME: all changes from dYdX Solo documented — additive auxiliary changes preserving core accountingretrieved 2026-05-16

Methodology #

Measure the percentage of lines changed between this fork's deployed code and the stated upstream codebase at fork point.

See the full factor methodology and distribution across all protocols →

rubric_version v1.7.0 protocol dolomite factor RD-F-129 score yellow collected_at 2026-05-16 11:12:56