Towards a Formally Verified EVM in Production Environment
- 10 June 2020
- book chapter
- Published by Springer Nature
- Vol. 12134, 341-349
Abstract
Among dozens of decentralized computing platforms, Ethereum attracts widespread attention for its native support of smart contracts by means of a virtual machine called Ethereum Virtual Machine (EVM). Programs can be developed in various front-end languages. For example, Solidity can be deployed to the blockchain in the form of compiled EVM opcodes. However, such flexibility leads to critical safety challenges. In this paper, we formally define the behavior of EVM in Why3, a platform for deductive program verification, which facilitates the verification of different properties. The extracted implementation in OCaml can be directly integrated into the production environment and tested against the standard test suite. The combination of proofs and testing in our framework serves as a powerful analysis basis for EVM and smart contracts.Keywords
This publication has 9 references indexed in Scilit:
- KEVM: A Complete Formal Semantics of the Ethereum Virtual Machine2018
- Blockchain challenges and opportunities: a surveyInternational Journal of Web and Grid Services, 2018
- Defining the Ethereum Virtual Machine for Interactive Theorem Provers2017
- A Concurrent Perspective on Smart Contracts2017
- A Survey of Attacks on Ethereum Smart Contracts (SoK)2017
- Making Smart Contracts Smarter2016
- Formal Verification of Smart Contracts2016
- Rust as a language for high performance GC implementation2016
- Why3 — Where Programs Meet Provers2013