4

Seems important if I wish / need to change the signature of my action later that I could add new optional parameters to avoid breaking changes within possible.

Is it possible to update the ABI to add a new optional parameter? If so, how?

Alternatively or additionally, can I receive a map<string, string> as parameter?

1

You can use type? for optionals, similar to type[] for arrays.

|improve this answer|||||
  • Is there an example of that? – Andrei Arsenin Sep 17 '19 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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