0

I code my solidity contracts and I test in Remix Web IDE. When I test and I not get errors I copy to my project folder in my local machine. And all this errors appear in Visual Studio Code.

I can migrate and compile with truffle and use. Without errors.

Who know´s what happening??

enter image description here

1

I think it might be a problem with the compiler in visual studio. What pragma version are you using in the contract and what compiler version are you using in visual studio?

  • 0.4.24 in bouth – UnexpectedCharacter Nov 26 '18 at 16:09
  • I think you have the 0.5.0 somewhere and having compatibility issues with older contracts like explained here. Try changing the pragma to 0.5.0 and see if it persists. Read more about memory also. If you still can't solve it consider uploading the contract so we can help you better. – user47673 Nov 26 '18 at 16:27
  • The extension that I download was compiling the code in the 0.5 version – UnexpectedCharacter Nov 27 '18 at 8:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.