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

Contract metadata #71

Open
wants to merge 66 commits into
base: master
Choose a base branch
from
Open

Contract metadata #71

wants to merge 66 commits into from

Conversation

bowenwang1996
Copy link

Implements contract metadata which is specified in this NEP.

willemneal and others added 30 commits August 15, 2019 20:47
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.
- Moved preamble to library file and made definitions global
Still need to fix up arg parsing.
This also updates the new
janedegtiareva and others added 24 commits August 29, 2019 13:50
Test if returned result is nullable before encoding it as null
Update hello contract to latest version
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`
@bowenwang1996
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants