diff --git a/test/libsolidity/solidityExecutionFramework.h b/test/libsolidity/solidityExecutionFramework.h index a5549d5b8..a7192aca5 100644 --- a/test/libsolidity/solidityExecutionFramework.h +++ b/test/libsolidity/solidityExecutionFramework.h @@ -32,6 +32,8 @@ #include #include #include +#include +#include namespace dev { @@ -45,6 +47,7 @@ class ExecutionFramework { public: ExecutionFramework(): + m_sealEngineInit(), m_sealEngine(eth::ChainParams().createSealEngine()), m_state(0) { @@ -236,6 +239,17 @@ public: }; private: + struct sealEngineInit + { + sealEngineInit() + { + dev::eth::BasicAuthority::init(); + dev::eth::NoProof::init(); + } + }; + + sealEngineInit m_sealEngineInit; + template auto callCppAndEncodeResult(CppFunction const& _cppFunction, Args const&... _arguments) -> typename std::enable_if::value, bytes>::type