aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionFramework.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/ExecutionFramework.h')
-rw-r--r--test/ExecutionFramework.h11
1 files changed, 11 insertions, 0 deletions
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 <class... Args>
bytes const& callContractFunctionWithValue(std::string _sig, u256 const& _value, Args const&... _arguments)
{