1

I was able to get mallet running with the command ./mallet iele -d .

I created a simple contract that works in Remix but when I try to compile the contract using iele I get a Uncaught 'Compiler error: 0\nundefined'

The contract below

pragma solidity ^0.4.0;

contract Inbox {

    string public message;

    function Inbox(string initialMessage) public {
        message = initialMessage;
    }

    function setMessage(string newMessage) public returns(string) {
        message = newMessage;
    }



}

enter image description here

1
  • Just a guess: Your setMessage function should return a string but it doesn't return anything.
    – eddex
    Jun 9 at 8:30

Your Answer

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

Browse other questions tagged or ask your own question.