mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #509 from chriseth/sol_jsonInterface
Provide interface for calls in JSON and some other formatting changes.
This commit is contained in:
commit
a0a8c61a7e
@ -44,7 +44,7 @@ public:
|
|||||||
|
|
||||||
bytes const& compileAndRun(string const& _sourceCode)
|
bytes const& compileAndRun(string const& _sourceCode)
|
||||||
{
|
{
|
||||||
bytes code = dev::solidity::CompilerStack::compile(_sourceCode);
|
bytes code = dev::solidity::CompilerStack::staticCompile(_sourceCode);
|
||||||
sendMessage(code, true);
|
sendMessage(code, true);
|
||||||
BOOST_REQUIRE(!m_output.empty());
|
BOOST_REQUIRE(!m_output.empty());
|
||||||
return m_output;
|
return m_output;
|
||||||
|
Loading…
Reference in New Issue
Block a user