0

TezosOperationError: (permanent) proto.016-PtMumbai.michelson_v1.bad_stack

Now getting this issue while deploying contract on ghostnet, whats the reason for this?

1
  • 1
    Please give more context. What tools did you use to build the script and try to originate the contract? Commented Mar 30, 2023 at 10:51

1 Answer 1

0

The problem appears with the sp.failwith in the code here, SmartPy team will investigate on that. What one can do is to remove the failwith and add a sp.verify before.

Also, its not needed to copy the code, one can create a different name for the variables and give this name in the function parameters. Also simplified the second match_cons now here

Your Answer

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