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

Proposing API minor change on ABIReturnSubroutine for name overriding #551

Merged
merged 2 commits into from
Oct 5, 2022

Conversation

ahangsu
Copy link
Contributor

@ahangsu ahangsu commented Oct 5, 2022

Ben proposed a PR for ABIReturnSubroutine name overriding in #550 , which is assumed to be suggested by algorandfoundation/beaker#84.

The bug fix change in #550 looks good, but it also suggest that we are explicitly passing override name in both method_signature and method_spec methods, and it doesn't smell good.

I propose a small API change, such that one can specify the override name on construction for ABIReturnSubroutine.
We should probably ignore overriding_name argument in method_signature, but I haven't thought through how that method should change.

@barnjamin barnjamin merged commit dc8e6ee into override-name Oct 5, 2022
@barnjamin barnjamin deleted the proposed-abi-return-subr-api-change branch October 5, 2022 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants