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

Generic buffer API #181

Open
axic opened this issue Mar 12, 2019 · 0 comments
Open

Generic buffer API #181

axic opened this issue Mar 12, 2019 · 0 comments

Comments

@axic
Copy link
Member

axic commented Mar 12, 2019

Primea has introduced a generic buffer API where each buffer is referred to by an index and helpers exists to query the size and retrieve the buffer.

We could consider to use this instead of the collection of calldata*, retundata*, code*, externalcode*. We'd still need to have a way to retrieve a message index, for example a helper for calldatamessageindex or it could be passed on to the function. For return data an index could be returned by call*.

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