mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[isoltest] Add account builtin.
Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
This commit is contained in:
committed by
Alex Beregszaszi
co-authored by
Alex Beregszaszi
parent
13388e283e
commit
799106acfe
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user