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

Commits on Aug 16, 2019

  1. Configuration menu
    Copy the full SHA
    68dde2c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8dbaf4 View commit details
    Browse the repository at this point in the history
  3. Cleaned up

    Removed old files and lines
    willemneal committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    cc18651 View commit details
    Browse the repository at this point in the history
  4. Added new runtime imports

    And updated how input is read in and written out.
    willemneal committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    035aa2d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2e64c22 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eeb3d0d View commit details
    Browse the repository at this point in the history
  7. Create dev build for testing

    Since js doesn't use u64, webpack will convert to u32 in development mode.
    willemneal committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    3bec9a0 View commit details
    Browse the repository at this point in the history
  8. Fix type casting error

    willemneal committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    b9cb2f1 View commit details
    Browse the repository at this point in the history
  9. Updated dist files for asc

    willemneal committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    e9daba7 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2019

  1. Configuration menu
    Copy the full SHA
    843b0a1 View commit details
    Browse the repository at this point in the history
  2. Keep @Unmanaged, but define it in webpack

    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.
    willemneal committed Aug 19, 2019
    Configuration menu
    Copy the full SHA
    80a2696 View commit details
    Browse the repository at this point in the history
  3. Add out option for near files

    Also updated to use new runtime staging branch
    Willem Wyndham authored and willemneal committed Aug 19, 2019
    Configuration menu
    Copy the full SHA
    92e5289 View commit details
    Browse the repository at this point in the history
  4. Fix u64 parsing

    Willem Wyndham authored and willemneal committed Aug 19, 2019
    Configuration menu
    Copy the full SHA
    92cc5a2 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2019

  1. Configuration menu
    Copy the full SHA
    9b1b97d View commit details
    Browse the repository at this point in the history
  2. Initial stab

    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    dc67549 View commit details
    Browse the repository at this point in the history
  3. Add toString typings for Number and Boolean (AssemblyScript#769)

    This removes IDE errors when trying use the toString method on those primitive types.
    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    7bf26d5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5097e76 View commit details
    Browse the repository at this point in the history
  5. compiles

    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    3efda08 View commit details
    Browse the repository at this point in the history
  6. It works!

    - Moved preamble to library file and made definitions global
    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    fcb5aa7 View commit details
    Browse the repository at this point in the history
  7. Simple Generics now encode and decode

    Still need to fix up arg parsing.
    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    c3002ac View commit details
    Browse the repository at this point in the history
  8. Arg parsing works again

    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    3c1fe17 View commit details
    Browse the repository at this point in the history
  9. Works with bignum

    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    9c08841 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    66e1e0f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6ad9bf2 View commit details
    Browse the repository at this point in the history
  12. Added hello tests

    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    7ae14e8 View commit details
    Browse the repository at this point in the history
  13. Hello test now passes

    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    4d60357 View commit details
    Browse the repository at this point in the history
  14. Change build command

    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    8aec2e8 View commit details
    Browse the repository at this point in the history
  15. Add u64 array support

    This also updates the new
    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    4ebcacc View commit details
    Browse the repository at this point in the history
  16. nitpic: space

    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    8d001fa View commit details
    Browse the repository at this point in the history
  17. Now passes compiler tests

    willemneal committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    3c2f509 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2019

  1. Configuration menu
    Copy the full SHA
    c7c4a21 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c0d0f13 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2019

  1. Make u128 a special case

    willemneal committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    bd5f354 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #51 from nearprotocol/u128_bindings

    Make u128 a special case
    bowenwang1996 authored Aug 26, 2019
    Configuration menu
    Copy the full SHA
    d4d1335 View commit details
    Browse the repository at this point in the history
  3. Allow Strings, u128, and Uint8Arrays be serialized as nulls (#52)

    * Simplify tests
    
    * Fix nullables issue
    
    Added tests that string, u128, and Uint8Array are all nullable.
    willemneal authored Aug 26, 2019
    Configuration menu
    Copy the full SHA
    c01a30c View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2019

  1. Fix error from returning null

    - fixed calling exported function with no arguments.
    willemneal committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    9bd8750 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61bda90 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2019

  1. Configuration menu
    Copy the full SHA
    97e1e59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75a77f8 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2019

  1. Now entry files are nearfiles by default

    - Only entry files generate function wrappers
    - Only functions with parameters or return a value generate a wrapper function.
    Willem Wyndham authored and willemneal committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    6c58af1 View commit details
    Browse the repository at this point in the history
  2. New flag to ignore near transformation

    So that the compiler tests entry files don't get instrumented.
    Willem Wyndham authored and willemneal committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    00f39d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed5a6e1 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #61 from nearprotocol/fix_null_check

    Test if returned result is nullable before encoding it as null
    janedegtiareva authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    3cad044 View commit details
    Browse the repository at this point in the history
  5. Bump preview version

    janedegtiareva committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    4e7b629 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #62 from nearprotocol/preview-bump

    preview version bump
    janedegtiareva authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    c4f05f5 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2019

  1. Configuration menu
    Copy the full SHA
    33a6399 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #63 from nearprotocol/update-hello-contract

    Update hello contract to latest version
    bowenwang1996 authored Aug 30, 2019
    Configuration menu
    Copy the full SHA
    f8c8736 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2019

  1. Configuration menu
    Copy the full SHA
    85021af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    13ef3a7 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #64 from nearprotocol/update-deps-on-master

    Update dependencies on master
    janedegtiareva authored Sep 3, 2019
    Configuration menu
    Copy the full SHA
    bd033a8 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #65 from nearprotocol/update-version

    Update package version for npm to 0.7.0
    janedegtiareva authored Sep 3, 2019
    Configuration menu
    Copy the full SHA
    c825b4b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    04914c1 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2019

  1. Fix loader API to read memory

    - simplified testing
    - added test artifacts for future reference
    Willem Wyndham committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    11cc593 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2019

  1. First commit

    Willem Wyndham committed Sep 7, 2019
    Configuration menu
    Copy the full SHA
    550446a View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2019

  1. Cleaned up

    Willem Wyndham committed Sep 8, 2019
    Configuration menu
    Copy the full SHA
    e46d7f1 View commit details
    Browse the repository at this point in the history
  2. Can decode arguments with type aliases

    Willem Wyndham committed Sep 8, 2019
    Configuration menu
    Copy the full SHA
    a0e43c3 View commit details
    Browse the repository at this point in the history
  3. Return to old API

    Issue was that compiler wouldn't allow `Obj | Uint8array`  so to get around it added a type parameter that has a default.
    Willem Wyndham committed Sep 8, 2019
    Configuration menu
    Copy the full SHA
    1bac2ff View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2019

  1. Reduce allocations

    Willem Wyndham committed Sep 9, 2019
    Configuration menu
    Copy the full SHA
    3edc33a View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2019

  1. Configuration menu
    Copy the full SHA
    a8c363c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b5a115c View commit details
    Browse the repository at this point in the history
  3. Merge with upstream

    Added dist files
    willemneal committed Sep 13, 2019
    Configuration menu
    Copy the full SHA
    c191ac3 View commit details
    Browse the repository at this point in the history
  4. Merge with Upstream and Simplify Decoding #66

    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`
    willemneal authored Sep 13, 2019
    Configuration menu
    Copy the full SHA
    23e2f17 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2019

  1. basic contract metadata

    bowenwang1996 committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    607c7dc View commit details
    Browse the repository at this point in the history
  2. refactor

    bowenwang1996 committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    71e7647 View commit details
    Browse the repository at this point in the history
  3. Type mapping

    bowenwang1996 committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    a1c01cf View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2019

  1. Fix tests

    bowenwang1996 committed Sep 21, 2019
    Configuration menu
    Copy the full SHA
    52f9b2e View commit details
    Browse the repository at this point in the history