[isoltest] Add account builtin.

Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
This commit is contained in:
Alexander Arlt
2021-05-21 12:38:05 +01:00
committed by Alex Beregszaszi
co-authored by Alex Beregszaszi
parent 13388e283e
commit 799106acfe
4 changed files with 68 additions and 4 deletions
+6
View File
@@ -241,6 +241,12 @@ public:
return result;
}
util::h160 setAccount(size_t _accountNumber)
{
m_sender = account(_accountNumber);
return m_sender;
}
private:
template <class CppFunction, class... Args>
auto callCppAndEncodeResult(CppFunction const& _cppFunction, Args const&... _arguments)