English

Blockchain Superoptimizer

Logic in Computer Science 2020-05-13 v1

Abstract

In the blockchain-based, distributed computing platform Ethereum, programs called smart contracts are compiled to bytecode and executed on the Ethereum Virtual Machine (EVM). Executing EVM bytecode is subject to monetary fees---a clear optimization target. Our aim is to superoptimize EVM bytecode by encoding the operational semantics of EVM instructions as SMT formulas and leveraging a constraint solver to automatically find cheaper bytecode. We implement this approach in our EVM Bytecode SuperOptimizer ebso and perform two large scale evaluations on real-world data sets.

Keywords

Cite

@article{arxiv.2005.05912,
  title  = {Blockchain Superoptimizer},
  author = {Julian Nagele and Maria A Schett},
  journal= {arXiv preprint arXiv:2005.05912},
  year   = {2020}
}

Comments

15 pages