0

Am receiving "Expected token Semicolon got 'LParen' " error from the this line of code.

emit AuctionCreated(msg.sender, auctionId);               
                   ^

when trying to deploy a contract through truffle.

any help ??

THANKS IN ADVANCE !

1 Answer 1

1

Problem is solved. solidity compiler version in my framework is not compatible with emits, only compilers after ^0.4.19 works with emit.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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