mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Create contracts.
This commit is contained in:
parent
a576b38125
commit
ab5347100b
@ -56,7 +56,7 @@ bytes compileContract(const string& _sourceCode)
|
|||||||
BOOST_REQUIRE_NO_THROW(resolver.resolveNamesAndTypes(*contract));
|
BOOST_REQUIRE_NO_THROW(resolver.resolveNamesAndTypes(*contract));
|
||||||
|
|
||||||
Compiler compiler;
|
Compiler compiler;
|
||||||
compiler.compileContract(*contract, {});
|
compiler.compileContract(*contract, {}, {});
|
||||||
// debug
|
// debug
|
||||||
//compiler.streamAssembly(cout);
|
//compiler.streamAssembly(cout);
|
||||||
return compiler.getAssembledBytecode();
|
return compiler.getAssembledBytecode();
|
||||||
|
Loading…
Reference in New Issue
Block a user