Add support for external libraries to extracted semantics tests.

This commit is contained in:
Daniel Kirchner
2019-11-12 15:19:04 +01:00
parent 52a9de83f3
commit c7e3318dba
8 changed files with 158 additions and 42 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ public:
/// Compiles and deploys currently held source.
/// Returns true if deployment was successful, false otherwise.
bool deploy(std::string const& _contractName, u256 const& _value, bytes const& _arguments);
bool deploy(std::string const& _contractName, u256 const& _value, bytes const& _arguments, std::map<std::string, dev::test::Address> const& _libraries = {});
private:
std::string m_source;