Commit Graph
1490 Commits
Author SHA1 Message Date
Amaury Martiny a81929de09 Use name instead of prefix (#948)
* Use name instead of prefix

* Rename var
2019-05-23 09:10:25 +02:00
Jaco Greeff 96133d22b8 Align IExtrinsic with Extrinsic impl. (signer/signature string) (#946) 2019-05-23 09:05:25 +02:00
Travis CI 478ce8561b [CI Skip] 0.79.1 2019-05-22 09:54:35 +00:00
Jaco Greeff bdd1ca4f3d 0.79 (#944)
* 0.79

* @polkadot/api -> *
2019-05-22 11:45:32 +02:00
Travis CI b60bc92848 [CI Skip] 0.79.0-beta.35 2019-05-22 08:40:51 +00:00
Jaco Greeff c431815c4d Emit error on init (#940) 2019-05-22 10:32:10 +02:00
Jaco Greeff 2ebd1e1dbb Provide genesisHash & version to signer (#941)
* Provide genesisHash & version to signer

* Remove runtimeVersion (until needed, supplied anyway)
2019-05-22 10:23:29 +02:00
Travis CI 43940ea716 [CI Skip] 0.79.0-beta.34 2019-05-22 07:27:41 +00:00
Jaco Greeff ce6738c270 Bump deps, align CHANGELOG (#939) 2019-05-22 09:18:33 +02:00
Travis CI 6641c07549 [CI Skip] 0.79.0-beta.33 2019-05-21 08:37:06 +00:00
Alex Wang 833b49d012 support double map storage function (#934)
* support double map storage function

* add twox_64_concat, clean comments

* change Twox128Concat to Twox64Concat

* update decodeStorageKey

* fix: update decodeStorageKey

* test: add e2e test
2019-05-21 10:25:58 +02:00
Travis CI dc8351a7ce [CI Skip] 0.79.0-beta.32 2019-05-20 12:21:10 +00:00
Jaco Greeff 767891dca0 ExtrinsicSignature init with address/signature strings (#935) 2019-05-20 14:09:29 +02:00
Travis CI b073314d30 [CI Skip] 0.79.0-beta.31 2019-05-17 15:24:49 +00:00
Jaco Greeff 9f258ff4c7 Allow Moment with BE/LE hex encoding (#933)
* Allow Moment with BE/LE hex encoding

* description clarification
2019-05-17 17:13:11 +02:00
Travis CI 37911b6684 [CI Skip] 0.79.0-beta.30 2019-05-17 14:48:20 +00:00
Jaco Greeff 1e8e0b2974 Polkadot master specVersion bump (#932)
* Polkadot master specVersion bump

* EventRecord_0_76
2019-05-17 16:37:22 +02:00
Travis CI ff0479f48c [CI Skip] 0.79.0-beta.29 2019-05-17 13:15:07 +00:00
Jaco Greeff ed5c886845 Add staking.stakers to derive.staking.info (#931)
* Add staking.stakers to derive.staking.info

* alphabetical ordering

* add staking.nominators

* Fix lint
2019-05-17 15:04:21 +02:00
Travis CI 74b6cfcb69 [CI Skip] 0.79.0-beta.28 2019-05-17 12:53:48 +00:00
Jaco GreeffandAmaury Martiny f8f05ba21e Show section.method on storage read error (#928)
* Show section.method on storage read error

* Update packages/types/src/primitive/StorageKey.ts

Co-Authored-By: Amaury Martiny <amaury.martiny@protonmail.com>

* Update StorageKey.ts
2019-05-17 14:39:17 +02:00
Travis CI b0b14046c4 [CI Skip] 0.79.0-beta.27 2019-05-17 12:26:48 +00:00
Jaco Greeff 03234a0cc9 Codec Fallback on createType (along with pedantic) (#929)
* Codec Fallback on createType (along with pedantic)

* Updates for numbers (fix failing tests)

* Add isPedantic to linked
2019-05-17 14:07:51 +02:00
Travis CI e326f27ac6 [CI Skip] 0.79.0-beta.26 2019-05-17 09:56:16 +00:00
Jaco Greeff 36d7a85ed2 Move HeaderExtended type to api-derive (#923)
* Move HeaderExtended type to api-derive

* Really remove HeaderExt from Header this time around
2019-05-17 11:44:14 +02:00
Travis CI 43a1d95809 [CI Skip] 0.79.0-beta.25 2019-05-16 16:25:40 +00:00
Jaco Greeff 6b6f04d12a Add edgeware to nodeCompat (#926) 2019-05-16 18:14:07 +02:00
Travis CI 6e66913db7 [CI Skip] 0.79.0-beta.24 2019-05-16 15:19:37 +00:00
Jaco Greeff 2ae9098534 Create submittable via hex (#919)
* Create submittable via hex

* typo
2019-05-16 17:05:16 +02:00
Travis CI 2f002fbb92 [CI Skip] 0.79.0-beta.23 2019-05-16 13:46:24 +00:00
Jaco Greeff b701bdf763 Set assert fix (with tests) (#925)
* Set assert fix (with tests)

* toNumber() -> function
2019-05-16 15:34:59 +02:00
Amaury Martiny 6729da721a Add .args breaking change (#924) 2019-05-16 15:19:15 +02:00
Stefanie Doll 70716d61c9 Extrinsic bug with undefined value (#914)
* Extrinsic contructor to fix

* Switch from Unit8Array to U8a

* new line

* Move Unit8Array to end of decode function

* move unit8array up as default

* only create empty Unit8Array for undefined values

* default value for string

* remove empty ExtrinsicValue in decode function call

* Throw error instead of console.error

* Travis
2019-05-16 15:11:22 +02:00
Travis CI 5159e42464 [CI Skip] 0.79.0-beta.22 2019-05-16 12:39:24 +00:00
Jaco Greeff 07ba80bee1 api.derive.staking.info (all relevant account info) (#915)
* api.derive.staking.info (all relevant account info)

* Update description

* Explicit controller/stash id vars

* Add e2e tests to confirm
2019-05-16 14:28:08 +02:00
Travis CI 9a25e8376d [CI Skip] 0.79.0-beta.21 2019-05-16 12:25:37 +00:00
Jaco Greeff 8c70cbf0f1 Add Codec toRawType (#921)
* Add Codec toType

* Revert i* & u* (toType, catered for in base)

* toType -> toRawType
2019-05-16 14:14:18 +02:00
Jaco Greeff 42fe4e1739 Combine Enum & EnumType (#922)
* Extend EnumType with basic (convert use)

* Remove Enum, adjust EnumType tests with Enum version

* Remove aliasses

* test json finaised -> finalized
2019-05-16 13:52:00 +02:00
Travis CI 25d5869420 [CI Skip] 0.79.0-beta.20 2019-05-16 11:09:06 +00:00
Amaury Martiny 2b538f5f58 refactor: Metadata overhaul (#913)
* Replace part1

* Replace part2

* Replace part3

* Replace part5

* Replace part6

* Fix small bugs

* Fix double map toString

* Small fixes

* Update to v4

* Fix docs script

* Grumbles

* Alphabetical

* Reads better

* comment

* module to modul
2019-05-16 12:57:51 +02:00
Travis CI 51dc4677b2 [CI Skip] 0.79.0-beta.19 2019-05-16 10:06:14 +00:00
Jaco Greeff 5a857a33c8 codec/Set extends JS Set (#917) 2019-05-16 11:54:26 +02:00
Jaco Greeff 2dfc55cb5c Update api.derive to use api.queryMulti (#911)
* session api.queryMulti

* Make a single subscription to retrieve all session info

* Adjustments

* WIP

* Seems mostly comprehensive, need to full test e2e

* e2e tests for operations

* Allow "create from empty"

* skip

* Remove comment

* Remove ancient ?'s

* Update types.ts
2019-05-16 11:36:41 +02:00
Jaco Greeff bafda6dc93 Remove struct map naming overrides (#918) 2019-05-16 11:18:49 +02:00
Jaco Greeff 86a8011c65 Move additional types to primitive & rpc (#916) 2019-05-16 11:11:32 +02:00
Travis CI facdbf8f3a [CI Skip] 0.79.0-beta.18 2019-05-15 14:16:40 +00:00
Jaco Greeff 3ec4bc388f Contract test data (shared_vec) for Option<T>, Result<T> (#906) 2019-05-15 16:05:13 +02:00
Jaco Greeff 2509309326 Update Extrinsic Signature description (#905)
* Update Extrinsic Signature description

* Update ExtrinsicSignature.ts
2019-05-15 16:04:53 +02:00
Travis CI d4288e28fa [CI Skip] 0.79.0-beta.17 2019-05-15 11:15:07 +00:00
Jaco Greeff 63222cf525 Add node-template override (#912) 2019-05-15 13:04:01 +02:00