The first error means your contract failed. Code -2
is returned by your contract. If you show me the code of the contract I can help identifying that -2
means. See Return custom errors — Concordium documentation for how errors are reported.
The second error indicates that you do not have the parameter schema for the update_manager
entrypoint, and you are trying to use the JSON parameter. So either you forgot to use the parameter
annotation to your contract’s entrypoint or you did not build the schema.
Well, I already know where the problem is, thanks
1 Like