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

Add support for All Soroban ScVal types #1676

Open
salaheldinsoliman opened this issue Nov 30, 2024 · 0 comments
Open

Add support for All Soroban ScVal types #1676

salaheldinsoliman opened this issue Nov 30, 2024 · 0 comments

Comments

@salaheldinsoliman
Copy link
Contributor

Soroban values are all 64 bits, where the rightmost 8 bits contains a tag that specifies the type if the Value.
Solang has to insert decoding and encoding routines before and after executing a function's logic, depending on the parameters and return types of the values.
This is to be done in dispatch/soroban.rs, where Soroban dispatch logic is implemented.
This will be a parent issue, whereby each child issue corresponds to supporting a single type.

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

No branches or pull requests

1 participant