-
Notifications
You must be signed in to change notification settings - Fork 667
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
hugocaillard
wants to merge
308
commits into
develop
Choose a base branch
from
feat/clarity-wasm-develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Clarity Wasm #4756
+11,030
−947
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is the return value from the last expression at the top-level of the contract.
There are now tests for the functions that read and write the Wasm memory!
This includes `keccak256`, `sha512`, and `sha512/256`.
This function is useful for debugging wasm code.
This code can still use some improvements and DRYing up.
Even when called as a local function (within the same contract), public functions will have their changes rolled back if they return an error.
…ontract-calls feat(wasm): include proper rollback handling for contract-calls
chore: sync host functions with clarity-wasm implementation
Add stub for `debug_msg` in linker
fix ErrorMap
fix: correct error mapping for BadTypeConstruction
Update clarity wasm develop
Update clarity wasm develop
Update clarity wasm develop
Update Cargo.lock on feat/clarity-wasm-develop
fix rusqlite dependency path
Update ClarityWasm with 3.0.0.0.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.