[isoltest] Adds support for fallback and ether functions.

This commit is contained in:
Erik Kundt
2019-09-13 10:55:46 +02:00
parent 02af613fa5
commit e92b921123
7 changed files with 62 additions and 30 deletions
+6
View File
@@ -92,6 +92,12 @@ public:
return callFallbackWithValue(0);
}
bytes const& callLowLevel(bytes const& _data, u256 const& _value)
{
sendMessage(_data, false, _value);
return m_output;
}
bytes const& callContractFunctionWithValueNoEncoding(std::string _sig, u256 const& _value, bytes const& _arguments)
{
FixedHash<4> hash(dev::keccak256(_sig));