Open
Conversation
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`
Author
|
Hmm I thought we are doing contract metadata through borsh now? |
This file contains hidden or 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
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.