Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placeholder: Leverage match opcode #573

Open
michaeldiamant opened this issue Oct 19, 2022 · 0 comments
Open

Placeholder: Leverage match opcode #573

michaeldiamant opened this issue Oct 19, 2022 · 0 comments

Comments

@michaeldiamant
Copy link
Contributor

michaeldiamant commented Oct 19, 2022

Problem

algorand/go-algorand#4626 adds match opcode support. The story requests leveraging match in PyTeal + considering if it ought to be exposed to end users.

Consideration needed in these areas:

  • Consider where usage is applicable. At a minimum, it feels like a good fit is leveraging match for ABI Router method invocation routing.
  • Consider if/how to leverage + expose pushints and pushbytess.

For end user support, consider introduction of a switch-like statement.

Solution

Dependencies

Urgency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant