Commit Graph
8 Commits
Author SHA1 Message Date
Amaury Martiny 8840f33d20 Rewrite type-extrinsics (#173)
* Cleanup jsonrpc, refer to api-codec

* Remove misplaced debug log

* Add metadat array (hack around json import)

* Move json metadata to ts

* Rewrite type-extrinsics

* Make tests pass in type-params

* Skip failing tests in type-primitives

* Use legacy type for legacy stuff

* Remove useless comments

* Remove type params (finally)

* Remove type-primitives (!)

* Remove legacy stuff

* Remove useless import

* Remove useless file

* Update header

* Remove useless files

* Fix test

* Typo

* Export default

* Fix test

* Add index counting

* Fix test index counting

* toNumber() on id

* Fix bug u8a
2018-10-01 10:43:05 +02:00
Jaco Greeff eb0356b6eb Cleanup extrinsic encoding (#150)
* Cleanup extrinsic encoding

* Removed now-defunct type

* Add uncheckedLength encoding
2018-09-12 12:14:50 +02:00
Jaco Greeff 99628f2dbd Allow extrinsic length encoding to operate on u8a[] (#148) 2018-09-12 10:25:31 +02:00
Jaco Greeff 0b61aded8f Missing staking methods (slashing, propsal missed, setBalance) (#143) 2018-09-04 09:57:24 +02:00
Jaco Greeff 6bc06ad38f Add session.noteOffline extrinsic (#140)
* Add session.noteOffline extrinsic

* Remove extra debug logging
2018-08-22 10:04:22 +02:00
Jaco Greeff a369c8804a Add chain_getBlock & author_pendingExtrinsics (#132)
* Add chain_getBlock & author_pendingExtrinsics

* Remove sample

* TSLint
2018-08-15 15:34:16 +02:00
Jaco Greeff 187c66f600 Add storage subscription API endpoints (#126)
* Add storage subscriptions

* StorageResult formatting

* Decoding WIP

* Storage subsciptions in place

* Allow null decodes, ref https://github.com/polkadot-js/apps/issues/215

* e2e tests for subscribeStorage

* Cache subscription results, return with changeset
2018-08-11 20:50:57 +02:00
Jaco Greeff ad968ec794 Import type-* from common repo (#125)
* Import type-* from common repo

* Update links

* Fix lint links (package index)
2018-08-11 11:14:20 +02:00