Maat: Analyzing and Optimizing Overcharge on Blockchain Storage
Zheyuan He, Zihao Li, Ao Qiao, Jingwei Li, Feng Luo, Sen Yang, Gelei Deng, Shuwei Song, Xiaosong Zhang, Ting Chen, Xiapu Luo
Abstract
Blockchain, such as Ethereum, relies on a transaction fee mechanism (TFM) to allocate the costs of on-chain resources, including storage, network, and computation. However, the inconsistency between the transaction fee and the storage workload results in overcharging issues for users.
In this paper, we present Maat, a tool designed to address these overcharging issues on blockchain storage. Maat employs three key techniques: (i) Fine-grained data collection, which captures detailed information on gas fees at the storage operation level (i.e., the operations interact with blockchain storage), enabling precise tracking of resource usage and charges for identifying overcharges; (ii) Consensus-oriented optimizations, which ensure that fee optimizations are consistent across all blockchain nodes by analyzing high-level storage semantics (e.g., accessing account and slot) of storage operations; and (iii) Resource pre-allocation, which ensures storage operation consistent across heterogeneous nodes and clients via preemptively specifying and allocating necessary resources. Extensive evaluations of Maat on Ethereum reveal a 32% reduction in transaction fees, amounting to 5.6M USD in weekly savings and nearly outperforming the baseline by nearly three times. Additionally, Maat achieves optimizations with a minimal performance overhead of 1.4% in block processing time and a 5.6% increase in memory consumption. Finally, Maat demonstrates its scalability, yielding a 31% reduction in transaction fees on Binance Smart Chain (1.54M USD per week).
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5650624c-f4a5-4fc2-a968-85352d86f88eCited by top-tier papers2
- Light into Darkness: Demystifying Profit Strategies Throughout the MEV Bot LifecycleFeng Luo, Zihao Li, Wenxuan Luo, Zheyuan He et al.NDSS 2026 · 4 citations
- The Perils of Flexibility: Uncovering Application-Layer Vulnerabilities in Cosmos SDK Customization PointsPengxiang Ma, Ningyu He, Zhongchun Cao, Zihao Li et al.USENIX Security 2026
Builds on23
- Making Smart Contracts SmarterLoi Luu, Duc-Hiep Chu, Hrishi Olickel, Prateek Saxena et al.CCS 2016 · 2,306 citations
- Empirical Analysis of EIP-1559: Transaction Fees, Waiting Times, and Consensus SecurityYulin Liu, Yuxuan Lu, Kartik Nayak, Fan Zhang et al.CCS 2022 · 78 citations
- eTainter: detecting gas-related vulnerabilities in smart contractsAsem Ghaleb, Julia Rubin, Karthik PattabiramanISSTA 2022 · 57 citations
- Diablo: A Benchmark Suite for BlockchainsVincent Gramoli, Rachid Guerraoui, Andrei Lebedev, Chris Natoli et al.EuroSys 2023 · 41 citations
- RainBlock: Faster Transaction Processing in Public BlockchainsSoujanya Ponnapalli, Aashaka Shah, Souvik Banerjee, Dahlia Malkhi et al.USENIX ATC 2021 · 39 citations
Related papers
- Synthesis of Sound and Precise Storage Cost Bounds via Unsound Resource Analysis and Max-SMTElvira Albert, Jesús Correas, Pablo Gordillo, Guillermo Román-Díez et al.ISSTA 2024 · 1 citation
- Auspex: Unveiling Inconsistency Bugs of Transaction Fee Mechanism in BlockchainZheyuan He, Zihao Li, Jiahao Luo, Feng Luo et al.USENIX Security 2025
- Synthesis of Super-Optimized Smart Contracts Using Max-SMTElvira Albert, Pablo Gordillo, Albert Rubio, Maria Anna SchettCAV 2020 · 30 citations
- ChainKV: A Semantics-Aware Key-Value Store for Ethereum SystemZehao Chen, Bingzhe Li, Xiaojun Cai, Zhiping Jia et al.SIGMOD 2024 · 9 citations
- TimeChain: A Secure and Decentralized Off-chain Storage System for IoT Time Series DataYixiao Teng, Jiamei Lv, Ziping Wang, Yi Gao et al.WWW 2025 · 5 citations
