From e5bf3e16a3e72996e2f374970b2026958fb0a9ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Wed, 10 Jun 2015 18:18:38 +0200 Subject: [PATCH] Add code hash to VM tester. --- test/libevm/vm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/libevm/vm.cpp b/test/libevm/vm.cpp index ec66837e1..2e1ef4d92 100644 --- a/test/libevm/vm.cpp +++ b/test/libevm/vm.cpp @@ -324,6 +324,8 @@ void doVMTests(json_spirit::mValue& v, bool _fillin) fev.code = fev.thisTxCode; } + fev.codeHash = sha3(fev.code); + bytes output; bool vmExceptionOccured = false; try