Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Commit

Permalink
NEAR support (#210)
Browse files Browse the repository at this point in the history
* near: Add base types and methods

* chore: Review fixes

* near: Fix permission typo

* near: Add missing MerklePath

* near: Fix another permission typo

* near: Add missing implementations for MerklePathItem

This is needed because of the `class MerklePath extends
Array<MerklePathItem`.

The same had to be done for `Tuple` and `Value` in the `ethereum`
file/module.

AssemblyScript requires those implementations because of the
super class.

* ci: Add build script to catch compilation errors early

The `test` script was not catching these for some reason
that's probably related to how the AssemblyScript compiles
code and removes unnecessary things (needs further investigation).

For now it's very much helpful (and needed) to catch compilation
errors on the CI step.

* near: Change some fields from 'string' to 'bytes'

* global: Add near TypeIds

* Re-order fields to fix alignment issue

* near: AccountId -> Account

* near: Fix global type ids

Co-authored-by: Matthieu Vachon <matthieu.vachon@dfuse.io>
  • Loading branch information
evaporei and Matthieu Vachon authored Oct 22, 2021
1 parent cac40b0 commit f5d7ebd
Show file tree
Hide file tree
Showing 6 changed files with 532 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ node_js:
- "12"
- "14"
- "16"
script:
- yarn build
- yarn test
Loading

0 comments on commit f5d7ebd

Please sign in to comment.