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

Clarity Wasm #4756

Draft
wants to merge 267 commits into
base: develop
Choose a base branch
from
Draft

Clarity Wasm #4756

wants to merge 267 commits into from

Conversation

hugocaillard
Copy link
Collaborator

@hugocaillard hugocaillard commented May 7, 2024

This contains the changes used for clarity-wasm. It may not yet be ready to be merged, but the clarity-wasm team is reviewing it as we go and then it will need a thorough review once it is ready to be merged into next.

This branch supersedes #3880, #4093, and the previous branch that was used by clarinet. The clarinet specific changes (to make the clarity crate compilable to wasm) are the starting point for the clarity-wasm changes.

obycode and others added 30 commits November 27, 2023 19:39
All error cases should be properly handled and generate an error to be
handled by the caller. Any `Wasm` errors should never happen in
production and would indicate an implementation problem if they show up.
This is to allow moving stacks-blockchain into clarity-wasm as a
submodule.
Also adds better support for `buff` type
This latest iteration allows a clean mechanism for the initialization
functions to get mutable access to the `contract_context` while limiting
the runtime functions to immutable access, without requiring lots of
duplicated code.
This was originally necessary with the previous restructuring of the
Wasm context objects, but is no longer needed, so it's better to do
everything at once again.
@obycode
Copy link
Contributor

obycode commented Jul 31, 2024

Let's get any failing tests working again in this branch.

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.

None yet

9 participants