0

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?

0

1 Answer 1

2

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.

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

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.