Mallet IELE Compiler crashes without Uncaught Error

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;
    }



}

1 Like

Not sure which versions you are using, but you can try:

pragma solidity >=0.4.0 <0.8.0;

Also, I see you had to use datadir to start. Maybe try full path to your file. Not sure of folder name and location where you keep it, maybe try something like:
iele.compile(’…/FolderName/inbox.sol’)

Otherwise check if you have an updated version. If not follow instructions in this link Mallet end to end tutorial

1 Like

It seems to be caused by an expired SSL cert. I opened an issue here:

You can prepend the call to ./mallet with NODE_TLS_REJECT_UNAUTHORIZED=0 to be able to connect to it, but it looks like requestFunds() isn’t working because of a recent pull request. See