-
Notifications
You must be signed in to change notification settings - Fork 44
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
Clarify Frame::HostFunction #150
Comments
@jonjove will this need to be completed ahead of Meridian or can we de prioritize this work into a later iteration or just backlog it for now in now iteration? |
Backlog it, it's purely about code quality and is not observable to users. |
@jonjove moving this to backlog to be prioritized into a later sprint. |
I get the confusion but the Given this is hard to change, and the benefit is heavily out-weighted by potential confusion and adaptation cost. I'll move this to post-testnet to add better code documentations in the host. |
@jayz22 I noticed this again while working with the |
What problem does your feature solve?
The name here confuses me. I don't understand the intention. Based on the code, it looks like we are only using
Frame::HostFunction
as the initial frame when calling in viainvoke_function
(this behavior is fine). But the name suggests that we would push aFrame::HostFunction
every time a host function is called, which we are not doing (this behavior is also fine). Perhaps we can come up with a name that indicates the actual usage?What would you like to see?
A better name that indicates the actual usage.
What alternatives are there?
Leave the name as is, with some comments about what it actually means. I don't feel great about this though.
The text was updated successfully, but these errors were encountered: