I tried to originate a smart contract using smartpy ide and this is the error what I am getting. enter image description here

An update on this I tried commenting all the sp.emit() in the code and deployed. Then it was working fine.

Anyone who can explain why this is happening?


1 Answer 1


In sp.emit(), spaces should not be given on tag. sp.emit(tag="eventGenerated") if you are giving space, then there will be an issue.

  • Thanks @Kin this was really helpful. Feb 21 at 18:19
  • Please mark your problem as resolved with the answer resolving your problem.
    – Jordan_tez
    Feb 24 at 6:52

Your Answer

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

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