diff --git a/src/Stratis.VS.StratisEVM/SolidityCompiler.cs b/src/Stratis.VS.StratisEVM/SolidityCompiler.cs index bd3b428..c238de2 100644 --- a/src/Stratis.VS.StratisEVM/SolidityCompiler.cs +++ b/src/Stratis.VS.StratisEVM/SolidityCompiler.cs @@ -64,9 +64,9 @@ public static async Task CompileFileAsync(string file) else { var binfile = s.Single(); - var b = File.ReadAllBytes(binfile); + var b = File.ReadAllText(binfile); File.Delete(binfile); - VSUtil.LogInfo("Solidity Compiler", "======= " + file + "======= " +"\nBinary: \n" + BitConverter.ToString(b).Replace("-", "")); + VSUtil.LogInfo("Solidity Compiler", "======= " + file + "======= " +"\nBinary: \n" + b); return; } diff --git a/tests/solidity/test2/BasicContract.sol b/tests/solidity/test2/BasicContract.sol index 5e464b8..062e326 100644 --- a/tests/solidity/test2/BasicContract.sol +++ b/tests/solidity/test2/BasicContract.sol @@ -15,7 +15,7 @@ contract BasicContract { // console.log("Unlock time is %o and block timestamp is %o", unlockTime, block.timestamp); emit BasicEvent(funcArg); - uint memory foo; + //uint memory foo; }