Towards Saving Blockchain Fees via Secure and Cost-Effective Batching of Smart-Contract Invocations
【Author】 Wang, Yibo; Li, Kai; Tang, Yuzhe; Chen, Jiaqi; Zhang, Qi; Luo, Xiapu; Chen, Ting
【Source】IEEE TRANSACTIONS ON SOFTWARE ENGINEERING
【影响因子】9.322
【Abstract】This paper presents IBATCH, a middleware system running on top of an operational Etherium network to enable secure batching of smart-contract invocations against an untrusted relay server off-chain. IBATCH does so at a low overhead by validating the server's batched invocations in smart contracts without additional states of user nonces. The IBATCH mechanism supports a variety of policies, ranging from conservative to aggressive batching, and can be configured adaptively to the current workloads. IBATCH automatically rewrites smart contracts to integrate with legacy applications and support large-scale deployment. We built an evaluation platform for fast and cost-accurate transaction replaying and constructed real transaction benchmarks on popular Etherium applications. With a functional prototype of IBATCH, we conduct extensive cost evaluations, which shows IBATCH saves 14.6% similar to 59.1% Gas cost per invocation with a moderate 2-minute delay and 19.06% similar to 31.52% Ether cost per invocation with a delay of 0.26 similar to 1.66 blocks.
【Keywords】Blockchains; cost effectiveness; DeFi; replay attacks; smart contracts
【发表时间】2023 1-Apr
【收录时间】2023-06-01
【文献类型】实验仿真
【主题类别】
区块链技术-核心技术-智能合约
【DOI】 10.1109/TSE.2023.3237123
评论