{
  "id": 9899443,
  "title": "Gas Optimization Audit: Venus Core Pool",
  "url": "https://urgent.news/2026/09/26/gas-optimization-audit-venus-core-pool",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-26T03:16:33.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/dannydoes_2abdf9c/gas-optimization-audit-venus-core-pool-1pnf"
  },
  "original_language": "en",
  "account": "The Venus Core Pool is a high-value lending/borrowing market that aggregates liquidity across multiple assets and distributes rewards. Despite being functionally sound, the current implementation has several gas-intensive patterns that inflate transaction costs for users. The audit identified six key gas inefficiencies that increase overall gas consumption by 12-18% compared to an optimally-engineered version.\n\nThe most significant issues are redundant storage reads/writes, unbounded loops over markets, excessive require statements with static strings, inefficient ERC-20 transferFrom pattern, missing calldata for external view parameters, and repeated block.timestamp reads. These inefficiencies collectively cause approximately $2-4 million in excess fees per year for a $1 billion TVL protocol, assuming 10 million transactions with an average gas price of 30 gwei.\n\nThe audit also uncovered two indirect attack vectors stemming from gas inefficiencies: denial-of-service via unbounded market loops and front-running incentives from high-cost transactions. Both issues can be mitigated by implementing the recommended gas optimizations.\n\nThe audit prioritized technical recommendations based on gas-saving potential and risk mitigation. The top priority is to cap market-entry arrays and use bounds checks to prevent unbounded loops. Other high-impact recommendations include using \"unchecked\" blocks for non-critical loops, removing redundant require statements, optimizing ERC-20 transferFrom patterns, and reducing unnecessary block.timestamp reads. Implementing these changes could reduce gas consumption by up to 12-18%, potentially saving $2-4 million in fees annually for the Venus Core Pool.",
  "summary": "Gas Optimization Audit: Venus Core Pool Target Protocol : Venus Core Pool (TVL: $1351.3M) Gas‑Optimization Audit Report Protocol: Venus Core Pool (Ethereum & L2) TVL: ≈ $1.351 B (as of 26 Sep 2026) Audit Type: Gas‑Efficiency & Execution‑Cost Review (with security‑impact considerations) Prepared by: Senior DeFi Security Researcher – Smart‑Contract Auditor Date: 26 September 2026 1. Executive…",
  "key_points": [
    "Venus Core Pool has six gas inefficiencies inflating transaction costs.",
    "Key inefficiencies include redundant storage reads/writes and unbounded loops.",
    "Implementing optimizations could save $2-4 million annually on fees."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}