[isoltest] Add support for builtin functions.

This commit is contained in:
Alexander Arlt
2021-03-04 08:49:59 -05:00
parent be5647735e
commit 94895822d2
6 changed files with 75 additions and 18 deletions
+2
View File
@@ -58,6 +58,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, std::map<std::string, solidity::test::Address> const& _libraries = {});
private:
TestResult runTest(std::ostream& _stream, std::string const& _linePrefix, bool _formatted, bool _compileViaYul, bool _compileToEwasm);
SourceMap m_sources;
@@ -70,6 +71,7 @@ private:
bool m_runWithABIEncoderV1Only = false;
bool m_allowNonExistingFunctions = false;
bool m_compileViaYulCanBeSet = false;
std::map<std::string, Builtin> m_builtins{};
};
}