From 94cae6339063fb6c33dc477991ac3d0933dc562f Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 28 Nov 2016 11:19:31 +0000 Subject: Add callFallback to ExectionFramework --- test/ExecutionFramework.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/ExecutionFramework.h') diff --git a/test/ExecutionFramework.h b/test/ExecutionFramework.h index 6ec1a06b..6c5a5764 100644 --- a/test/ExecutionFramework.h +++ b/test/ExecutionFramework.h @@ -73,6 +73,17 @@ public: return m_output; } + bytes const& callFallbackWithValue(u256 const& _value) + { + sendMessage(bytes(), false, _value); + return m_output; + } + + bytes const & callFallback() + { + return callFallbackWithValue(0); + } + template bytes const& callContractFunctionWithValue(std::string _sig, u256 const& _value, Args const&... _arguments) { -- cgit