[{"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-08-18T10:31:12.130Z","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,51,56,61,66,71,76,81,84,89,94,99,104],{"name":44,"slug":35,"count":45,"latest_published_at":46},"AI",3293,"2026-08-20T04:00:00.000Z",{"name":48,"slug":49,"count":50,"latest_published_at":46},"Security","security",435,{"name":52,"slug":53,"count":54,"latest_published_at":55},"Policy","policy",210,"2026-08-19T09:32:27.000Z",{"name":57,"slug":58,"count":59,"latest_published_at":60},"Deals","deals",179,"2026-06-29T20:02:07.000Z",{"name":62,"slug":63,"count":64,"latest_published_at":65},"Hardware","hardware",140,"2026-08-19T18:25:42.000Z",{"name":67,"slug":68,"count":69,"latest_published_at":70},"Consumer Tech","consumer-tech",95,"2026-08-18T16:05:00.000Z",{"name":72,"slug":73,"count":74,"latest_published_at":75},"Science","science",90,"2026-08-19T18:41:02.000Z",{"name":77,"slug":78,"count":79,"latest_published_at":80},"Software","software",73,"2026-08-18T07:51:50.000Z",{"name":82,"slug":30,"count":83,"latest_published_at":18},"Dev Tools",69,{"name":85,"slug":86,"count":87,"latest_published_at":88},"Startups","startups",47,"2026-08-19T19:13:46.000Z",{"name":90,"slug":91,"count":92,"latest_published_at":93},"Gaming","gaming",41,"2026-07-09T04:00:00.000Z",{"name":95,"slug":96,"count":97,"latest_published_at":98},"General","general",33,"2026-08-18T22:18:13.000Z",{"name":100,"slug":101,"count":102,"latest_published_at":103},"Reviews","reviews",20,"2026-06-24T12:00:01.000Z",{"name":105,"slug":106,"count":107,"latest_published_at":108},"How-To","how-to",6,"2026-06-16T09:00:00.000Z"]