Commit Graph
10 Commits
Author SHA1 Message Date
Jaco Greeff aed4b3ee6a Cleanup contracts type registry (#1497)
* Cleanup contracts type registry

* Remove some ! compiler overrides

* More mappy lookups

* Empty check
2019-10-21 16:18:41 +02:00
Jaco Greeff e197c6f114 Update shared-vec WASM (#1492) 2019-10-16 15:04:53 +02:00
kwingram25 05ec4964fe Generate types from new contract ABI JSON (#1320)
* generate types from registry

* cleanup

* merge, rearrange

* lint

* built out

* abi v2 creation

* throw on unions

* linting

* version handling

* split functions

* cleanup

* drop v1 support

* special types

* changes

* requested changes

* formatTYpe

* rv outdated test

* rv union test

* codeclimate

* codeclimate

* codeclimate

* codeclimate

* codeclimate

* review

* cleanup encodeTypes

* fix option sub

* TypeDefInfo.Result
2019-10-08 16:31:48 +02:00
Sergei Pepyakin 098a7a0953 INK! -> ink! (#1347) 2019-08-28 16:13:06 +02:00
Stefanie Doll 7a08b37ec3 Fix & convert e2e tests (#1167)
* split off rx-query tests

* Split off promise-rx tests

* use funded bob_stash for alex

* Fixed transfer e2e tests pt. 1

* wip era tx

* split derive promises

* delete outdated e2e metadata tests

* add randomAsHex test files

* WIP

* tslint

* add index file to e2e util

* rx-tx tests

* eslint types

* linting

* contract ? storage tests

* promise-contract tests

* fix lint errors after merge

* re-implement lost merge changes

* Only support recent ink versions

* child-storage tests

* Add e2e tests for storage input type

* All tests passing for rpc-core

* linting

* wrong file path

* remove old contract files & change folder name

* added larger random as hex files
2019-07-31 16:47:12 +02:00
YJ 7229a5fdfb feat: Metadata V6 with module constants (#1059)
* feat: metadata v6, minus static and test

* fix: update v5 to v6 everywhere

* fix: lint and testUtil

* fix typo

* fix: match final metadata. constants no longer optional, StorageFunctionMetadata renamed to StorageEntryMetadata.

* fix: constants constructor

* fix: unit tests pass

* fix: linting and renaming, make tests pass

* fix: skip e2e

remove console log

* fix: formatting test

* fix api e2e tests

* fix: put the skip back

* feat: yarn test:skip-e2e

* fix: grumbles, add fresh flipper wasm

* fix: grumbles, add fresh flipper wasm

* fix: changelog

* fix ci
2019-07-02 11:48:40 +02:00
Jaco Greeff d4c408d28b Explicity contract encoding tests (non e2e) (#1040) 2019-06-20 14:06:10 +02:00
Jaco Greeff 4cba24c134 Create api-contract (baseline for useful interactions) (#1007)
* Create api-contract (baseline for useful interactions)

* Add CHANGELOG entry (breaking)
2019-06-14 13:48:53 +02:00
Jaco Greeff 7bdf0fbbe5 Revert "Move contracts into api-contract"
This reverts commit af0e8cf07a.
2019-06-14 09:06:57 +02:00
Jaco Greeff af0e8cf07a Move contracts into api-contract 2019-06-14 09:05:21 +02:00