defirisk.co
rubric v1.7.0

Solc version used (known-bug versions flagged)

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

Evidence summary #

Two compiler versions are configured: **0.8.22** (5000 optimizer runs) and **0.8.17** (20000 runs, viaIR=true). Deployed contracts confirmed on Etherscan as `v0.8.22+commit.4fc1097e`. Known bug in 0.8.22: **VerbatimInvalidDeduplication** (introduced 0.8.5, fixed in 0.8.23) — causes incorrect deduplication of verbatim blocks by the Yul optimizer. Critically, this **only affects Yul verbatim blocks, not Solidity source compilation**. Since Stargate v2 compiles from Solidity source (not Yul verb...

Sources #

Methodology #

Identify the Solidity compiler version used for deployed bytecode and flag if it appears on the known-bug list (solc bugs.json or Vyper 0.2.15–0.3.0 range).

See the full factor methodology and distribution across all protocols →

rubric_version v1.7.0 protocol stargate factor RD-F-170 score yellow collected_at 2026-04-28 01:38:41