[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-new-ai-tool-cuts-smart-contract-gas-fees-by-up-to-11":10,"sections":41},{"siteName":4,"siteTagline":5,"publisherName":4,"contactEmail":6},"The Revision","Tech news, decoded.","editor@therevision.news",{"gaMeasurementId":8,"adsenseClientId":9},"G-ZW2MV82GYR","ca-pub-8533917693782264",{"article":11},{"id":12,"slug":13,"title":14,"dek":15,"body_md":16,"tags_json":17,"published_at":18,"created_at":19,"updated_at":20,"status":21,"review_note":22,"review_notes":23,"image_url":22,"persona_id":22,"persona_name":22,"section":30,"tags":31,"sources":36,"feedback":40,"feedback_at":22,"cost_usd":40,"total_tokens":40},5225,"new-ai-tool-cuts-smart-contract-gas-fees-by-up-to-11","New AI Tool Cuts Smart Contract Gas Fees by Up to 11%","RAGas is a new research framework that uses AI to spot and fix wasteful Ethereum code, cutting gas costs by up to 11% in tests.","Researchers have built an AI system that hunts down gas-wasting code in Ethereum smart contracts and rewrites it automatically.\n\nThe tool, called RAGas, runs a three-stage retrieval-augmented generation pipeline. A large language model pulls from a curated knowledge base of six categories and twelve fine-grained gas-wasting patterns, flags the offending code in a contract, and proposes a fix that preserves the contract's original behavior. The researchers built that knowledge base by systematically cataloging the syntactic and semantic habits that drive up gas costs. In tests on already-deployed contracts, RAGas cut gas usage by up to 11% and showed high precision and recall at spotting wasteful snippets in the first place.\n\nGas fees scale directly with a contract's computational complexity, and they get paid every time the contract runs, so shaving that bill matters more than it sounds. What sets RAGas apart from static linters and one-off audits is the promise of continuous knowledge integration: instead of a fixed rule set, its pattern library is meant to keep absorbing new gas-wasting idioms as they show up in the wild.\n\nUp to 11% is a ceiling pulled from a research paper, not an average from production use, so the honest read is a promising benchmark rather than a guaranteed discount on your next deployment.","[\"ethereum\",\"smart-contracts\",\"gas-optimization\",\"ai\"]","2026-08-18T04:00:00.000Z","2026-08-18T10:31:00.327Z","2026-09-20T21:28:46.606Z","published",null,[24],{"id":25,"reviewer":26,"round":27,"reason":28,"status":29},"editor-r1","editor",1,"Headline states a flat 11% cut while the body and source specify 'up to 11%' — fix the headline to include the 'up to' qualifier so it doesn't overstate the source's figure.","resolved","dev-tools",[32,33,34,35],"ethereum","smart-contracts","gas-optimization","ai",[37],{"name":38,"url":39},"arXiv cs.AI","https:\u002F\u002Farxiv.org\u002Fabs\u002F2608.15857",0,{"sections":42},[43,47,52,57,62,67,72,77,82,87,92,96,101,106],{"name":44,"slug":35,"count":45,"latest_published_at":46},"AI",7165,"2026-11-16T14:00:00.000Z",{"name":48,"slug":49,"count":50,"latest_published_at":51},"Security","security",1141,"2026-11-15T17:15:13.000Z",{"name":53,"slug":54,"count":55,"latest_published_at":56},"Deals","deals",682,"2026-11-16T14:45:47.000Z",{"name":58,"slug":59,"count":60,"latest_published_at":61},"Policy","policy",631,"2026-11-16T09:43:00.000Z",{"name":63,"slug":64,"count":65,"latest_published_at":66},"Consumer Tech","consumer-tech",384,"2026-11-16T14:33:02.000Z",{"name":68,"slug":69,"count":70,"latest_published_at":71},"Hardware","hardware",347,"2026-11-16T13:28:40.000Z",{"name":73,"slug":74,"count":75,"latest_published_at":76},"Science","science",236,"2026-11-14T20:54:14.000Z",{"name":78,"slug":79,"count":80,"latest_published_at":81},"Software","software",179,"2026-11-16T10:35:16.000Z",{"name":83,"slug":84,"count":85,"latest_published_at":86},"Startups","startups",162,"2026-11-13T17:32:35.000Z",{"name":88,"slug":89,"count":90,"latest_published_at":91},"General","general",131,"2026-11-16T11:14:41.000Z",{"name":93,"slug":30,"count":94,"latest_published_at":95},"Dev Tools",127,"2026-11-11T19:00:44.000Z",{"name":97,"slug":98,"count":99,"latest_published_at":100},"Gaming","gaming",113,"2026-11-16T11:47:03.000Z",{"name":102,"slug":103,"count":104,"latest_published_at":105},"Reviews","reviews",38,"2026-10-20T12:00:00.000Z",{"name":107,"slug":108,"count":109,"latest_published_at":110},"How-To","how-to",10,"2026-11-14T23:45:00.000Z"]