forked from AssemblyScript/assemblyscript
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Contract metadata #71
Open
bowenwang1996
wants to merge
66
commits into
master
Choose a base branch
from
contract-metadata
base: master
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.
Open
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
Removed old files and lines
And updated how input is read in and written out.
Since js doesn't use u64, webpack will convert to u32 in development mode.
Before @Unmanaged was commented out since the decorator wasn't defined. This, however, made the compiler tests fail. Now the transformer's webpack just defines an empty function for unmanaged and it passes all tests.
Also updated to use new runtime staging branch
This removes IDE errors when trying use the toString method on those primitive types.
Still need to fix up arg parsing.
This also updates the new
Test if returned result is nullable before encoding it as null
preview version bump
Update hello contract to latest version
Update dependencies on master
Update package version for npm to 0.7.0
- simplified testing - added test artifacts for future reference
Issue was that compiler wouldn't allow `Obj | Uint8array` so to get around it added a type parameter that has a default.
Added dist files
Merge with Upstream and Simplify Decoding - Decreases binaries by ~50% by defining fewer classes - Handle Type Aliases - Fixes stub allocation - Loader much faster at accessing typed arrays - Fixes typing generation - Changed api to `obj.encode() -> Uint8Array`
Hmm I thought we are doing contract metadata through borsh now? |
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.
Implements contract metadata which is specified in this NEP.