Jaco Greeff
cce329b19a
UncheckedEncoding ( #192 )
...
* Re add type-extrinsics
* Add descriptor
* Add uncheked mortal extrinsic
* Add e2e test
* Add versionInfo and signatureInfo
* Skip e2e test
* Small updates
* Additions for era & extra types
* Move types to types, fixup tests
* Small test updates
* Update test for full decoding
2018-10-04 08:37:32 +02:00
Jaco Greeff
6ff847170d
Various minor tweaks all-around ( #194 )
...
* Fix exports for provider
* Cleanu jsonrpc method exposure
* name -> section
2018-10-03 20:31:23 +02:00
Jaco Greeff
48e57f9a55
Rename api-codec -> types ( #183 )
...
* Rename api-codec -> types
* Cleanups with exports (as found with use)
* Docs to build for /types
2018-10-02 11:30:45 +02:00
Jaco Greeff
2f60ba0e1c
Add method name & prefix to StorageFunction ( #182 )
...
* Add methods & prefix to StorageFunction
* Match method/section to exposed names
* Export method/section on extrinsic & jsonrpc
* PR comment prefix -> section
2018-10-02 11:10:17 +02:00
Jaco Greeff
b3a95b58ed
Cleanup jsonrpc, refer to api-codec ( #174 )
...
* Cleanup jsonrpc, refer to api-codec
* Move storagekey legacy into type-params (legacy)
* Remove misplaced debug log
* Remove header encoding, use api-codec/Header
* Remove legacy types
* Add metadat array (hack around json import)
* Move json metadata to ts
2018-09-28 18:35:39 +02:00
Jaco Greeff
74737b6367
API formatting for inputs & outputs ( #171 )
...
* API formatting for inputs & outputs
* Shorten naming
* getStorage (signle key) operational
* Remove api-format (not used in api anymore)
* Cleanup creation logic
* Cleanup linting
* Cleanup storage creation
* e2e state test
* Add code test
* Add isBare flag to toU8a
* Uppercase... wtill wrong though
* Update metadata json
* We are creating keys properly
* Cleanup tslint
* Type splitting,m handling Tuple & Vector
* StorageChangeSet results in-place
* Update deps
* Allow Tuples to have array constructors
* Test for uncloded vec/tuple
* Update deps
2018-09-28 15:42:23 +02:00
Jaco Greeff
773358195a
Round out metadata types ( #169 )
...
* Fake Origin for compatibility
* Add Gas
* Add Moment
* Cleanups
* NewAccountOutcome
* Permill & Perbill
* PrendingExtrinsics -> PendingExtrinsics
* Extrinsics & PendingExtrinsics
* Alias String -> Text (as found in jsonrpc, expose it)
* MetaDate -> Metadata (compat)
* Add StorageData, StorageKey & ChangeSet
* Cleanup comments
* Comment update
* Comment typo
* Add ParachainId
* Add Tuple type
* Tuple tests
* Clenaup Tuple generics
* Expand comment
* Expose keys/values on struct
* Array-like at -> get
* Cleanup & simplify EnumType
* Use setValue internally to fromU8a
* Add RuntimeVersion
* Expose RuntimeVersion
2018-09-27 12:42:20 +02:00
Jaco Greeff
d9b05cf9f2
Decode runtime metadata ( #162 )
...
* WIP
* Some output, still borken...
* Events decoded correctly
* WIP, metadata decoded
* String cleanups
* Expand with generics
* Add getters
* Start docs...
* Additional docs
* Extra whitespace on Compact
* CodecLength FIXME
* Remove FIXME (impl. takes care)
* Swap in LengthCompact encoding
* Extend docs, play with auto-type for struct
* Trim strings, add Type for type-specific String
* More string-type hackery
* Don't allow Type re-encoding
* Remove struct experiment
* Cleanup Option
* Remove extra type defs from CodecStruct usage
* Expand Storage function with map (and type returns)
* Description around BaseCodec
* Cleanup linting, add Metadata test
* Move to api-codec
* Extract uniq types
* Uniq updates
* Unwrap, ungeneric
2018-09-24 13:51:20 +02:00
Jaco Greeff
bd2a1f54fc
Track subscriptions per method ( #134 )
...
* Track subscriptions per method
* Update subscription tests
* Correct newHead un/subscribe methods
2018-08-15 16:20:45 +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