You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Solc 4.6 on my machine and everything works. When I call compiledContract = web3.eth.compile.solidity(sourceCode);, the first attribute of compiledContract is my contract name:
Sorry for the hassle, this change was needed to allow unambiguous contract names for larger projects. You can access the contract using compiledContract['<stdin>:SampleContract'] but I would recommend not to use eth_compile at all and instead use solc.js directly.
I have Solc 4.6 on my machine and everything works. When I call
compiledContract = web3.eth.compile.solidity(sourceCode);
, the first attribute ofcompiledContract
is my contract name:But on another machine that has 4.9,
compiledContract
looks like this:And I cannot
compiledContract.<stdin>:SampleContrat
of course, in Geth I getinvalid token argument
. Why did<stdin>
appear?What could cause that? How do I revert to 4.6 manually? (With command line)
The text was updated successfully, but these errors were encountered: